We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 685eb0d + 9bfb8ec commit e1083eeCopy full SHA for e1083ee
pandas/tests/test_graphics.py
@@ -33,7 +33,7 @@ def _skip_if_mpl_14_or_dev_boxplot():
33
# Boxplot failures on 1.4 and 1.4.1
34
# Don't need try / except since that's done at class level
35
import matplotlib
36
- if matplotlib.__version__ >= LooseVersion('1.4'):
+ if str(matplotlib.__version__) >= LooseVersion('1.4'):
37
raise nose.SkipTest("Matplotlib Regression in 1.4 and current dev.")
38
39
@@ -72,7 +72,7 @@ def setUp(self):
72
'weight': random.normal(161, 32, size=n),
73
'category': random.randint(4, size=n)})
74
75
- if mpl.__version__ >= LooseVersion('1.4'):
+ if str(mpl.__version__) >= LooseVersion('1.4'):
76
self.bp_n_objects = 7
77
else:
78
self.bp_n_objects = 8
0 commit comments