Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix numpy version tests to use Looseversion #6490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2016

Conversation

jenshnielsen
Copy link
Member

Fixed #6489

@@ -84,7 +85,7 @@ def test_formatter_ticker():

@image_comparison(baseline_images=["formatter_large_small"])
def test_formatter_large_small():
if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0):
if LooseVersion(np.__version__) >= LooseVersion(1, 11, 0):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be LooseVersion('1.11.0')

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was sure that was what I typed Fixed now

@tacaswell tacaswell added this to the 1.5.2 (Critical bug fix release) milestone May 28, 2016
@tacaswell
Copy link
Member

Failure is one of the mathtext transients.

@tacaswell tacaswell merged commit 2ea542d into matplotlib:v1.5.x May 28, 2016
@tacaswell
Copy link
Member

merged to 2.x while dropping these changes in b9873ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants