projects
/
pandas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
893da6d
)
BF(TST): allow AttributeError being raised (in addition to TypeError) from mpl origin...
author
Yaroslav Halchenko
<debian@onerussian.com>
Wed, 13 Jul 2016 14:42:00 +0000
(14:42 +0000)
committer
Yaroslav Halchenko
<debian@onerussian.com>
Wed, 13 Jul 2016 14:42:00 +0000
(14:42 +0000)
Gbp-Pq: Name changeset_46af7cf0f8e0477f6cc7454aa786a573228f0ac3.diff
pandas/tests/test_graphics.py
patch
|
blob
|
history
diff --git
a/pandas/tests/test_graphics.py
b/pandas/tests/test_graphics.py
index 604cd89dac6175f46afd26d967482c841b0e37c7..e3ffcb76a3429a616c433632c83440cc02dbf53e 100644
(file)
--- a/
pandas/tests/test_graphics.py
+++ b/
pandas/tests/test_graphics.py
@@
-1318,7
+1318,8
@@
class TestDataFramePlots(TestPlotBase):
self._check_axes_shape(axes, axes_num=4, layout=(4, 1))
df = DataFrame({'x': [1, 2], 'y': [3, 4]})
- with tm.assertRaises(TypeError):
+ # mpl >= 1.5.2 (or slightly below) throw AttributError
+ with tm.assertRaises((TypeError, AttributeError)):
df.plot.line(blarg=True)
df = DataFrame(np.random.rand(10, 3),