Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be48e7d commit 09bf2ddCopy full SHA for 09bf2dd
1 file changed
lib/matplotlib/tests/test_rcsetup.py
@@ -27,8 +27,11 @@ def test_template():
27
def test_unicode():
28
# unicode formatted valid strings should validate.
29
for k, v in mpl.rcsetup.defaultParams.iteritems():
30
- assert k == v[1](unicode(v[0]))
31
- assert mpl.rcParams[k] == v[0]
+ if v[0] != v[1](unicode(v[0])):
+ print "Expected : ", v[0]
32
+ print "Actual : ", v[1](unicode(v[0]))
33
+ assert v[0] == v[1](unicode(v[0]))
34
+
35
36
if __name__ == '__main__':
37
import nose
0 commit comments