From 878598c82660fc39c263ce482c97b4ecc32ce094 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Wed, 23 Dec 2015 23:52:33 +0100 Subject: [PATCH] enable assert on 1.5 branch Backport of relevant part of #5735 --- lib/matplotlib/tests/test_subplots.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/tests/test_subplots.py b/lib/matplotlib/tests/test_subplots.py index 5af1716821bc..d588f7b4b13b 100644 --- a/lib/matplotlib/tests/test_subplots.py +++ b/lib/matplotlib/tests/test_subplots.py @@ -113,8 +113,7 @@ def test_exceptions(): message='.*sharex\ argument\ to\ subplots', category=UserWarning) assert_raises(ValueError, plt.subplots, 2, 2, -1) - # uncomment this for 1.5 - # assert_raises(ValueError, plt.subplots, 2, 2, 0) + assert_raises(ValueError, plt.subplots, 2, 2, 0) assert_raises(ValueError, plt.subplots, 2, 2, 5)