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

Skip to content

Commit a32cb09

Browse files
committed
Make sure that loose version is used for version check
This fix is on 1.5.x but not on 2.x seems like something went wrong in the merge
1 parent 1512593 commit a32cb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_formatter_ticker():
8888

8989
@image_comparison(baseline_images=["formatter_large_small"])
9090
def test_formatter_large_small():
91-
if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0):
91+
if LooseVersion(np.__version__) >= LooseVersion('1.11.0'):
9292
raise KnownFailureTest("Fall out from a fixed numpy bug")
9393
# github issue #617, pull #619
9494
fig, ax = plt.subplots(1)

0 commit comments

Comments
 (0)