Skip to content

Commit 7e774c2

Browse files
author
Masud Rahman
committed
Fixes test to assert instead of print
This commit fixes a test added as part of #3575, which was done to fix #1713.
1 parent f0a5a02 commit 7e774c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_rcparams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_Issue_1713():
151151
os.environ['LANG'] = old_lang
152152
else:
153153
del os.environ['LANG']
154-
print(rc.get('timezone') == 'UTC')
154+
assert rc.get('timezone') == 'UTC'
155155

156156
if __name__ == '__main__':
157157
import nose

0 commit comments

Comments
 (0)