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

Skip to content

Commit 2c1a307

Browse files
committed
Merge pull request #5736 from jenshnielsen/assertsubplots
enable assert on 1.5 branch
2 parents 90fb362 + 878598c commit 2c1a307

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/tests/test_subplots.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ def test_exceptions():
113113
message='.*sharex\ argument\ to\ subplots',
114114
category=UserWarning)
115115
assert_raises(ValueError, plt.subplots, 2, 2, -1)
116-
# uncomment this for 1.5
117-
# assert_raises(ValueError, plt.subplots, 2, 2, 0)
116+
assert_raises(ValueError, plt.subplots, 2, 2, 0)
118117
assert_raises(ValueError, plt.subplots, 2, 2, 5)
119118

120119

0 commit comments

Comments
 (0)