Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _skip_if_mpl_14_or_dev_boxplot():
# Boxplot failures on 1.4 and 1.4.1
# Don't need try / except since that's done at class level
import matplotlib
if matplotlib.__version__ >= LooseVersion('1.4'):
if str(matplotlib.__version__) >= LooseVersion('1.4'):
raise nose.SkipTest("Matplotlib Regression in 1.4 and current dev.")


Expand Down Expand Up @@ -72,7 +72,7 @@ def setUp(self):
'weight': random.normal(161, 32, size=n),
'category': random.randint(4, size=n)})

if mpl.__version__ >= LooseVersion('1.4'):
if str(mpl.__version__) >= LooseVersion('1.4'):
self.bp_n_objects = 7
else:
self.bp_n_objects = 8
Expand Down