From 7e774c210d759afea6f5e5a30a2a989b605306c8 Mon Sep 17 00:00:00 2001 From: Masud Rahman Date: Sat, 27 Sep 2014 12:08:26 -0400 Subject: [PATCH] Fixes test to assert instead of print This commit fixes a test added as part of #3575, which was done to fix #1713. --- lib/matplotlib/tests/test_rcparams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/test_rcparams.py b/lib/matplotlib/tests/test_rcparams.py index a55b0f794294..eca8971c55ea 100644 --- a/lib/matplotlib/tests/test_rcparams.py +++ b/lib/matplotlib/tests/test_rcparams.py @@ -151,7 +151,7 @@ def test_Issue_1713(): os.environ['LANG'] = old_lang else: del os.environ['LANG'] - print(rc.get('timezone') == 'UTC') + assert rc.get('timezone') == 'UTC' if __name__ == '__main__': import nose