10000 enable assert on 1.5 branch · matplotlib/matplotlib@878598c · GitHub
[go: up one dir, main page]

Skip to content

Commit 878598c

Browse files
committed
enable assert on 1.5 branch
Backport of relevant part of #5735
1 parent 0823022 commit 878598c

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)
0