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

Skip to content

Commit 6dfeab5

Browse files
committed
Merge pull request #3578 from frutiger/fix_test_for_issue_1713
Fixes test to assert instead of print
2 parents f0a5a02 + 7e774c2 commit 6dfeab5

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)