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

Skip to content

Commit 26bad18

Browse files
committed
testing: give more informative error when nose plugin not installed
svn path=/trunk/matplotlib/; revision=7651
1 parent b705443 commit 26bad18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def failer(*args, **kwargs):
1616
result = f(*args, **kwargs)
1717
except:
1818
if fail_condition:
19-
raise KnownFailureTest(msg)
19+
raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use.
2020
else:
2121
raise
2222
if fail_condition and fail_condition != 'indeterminate':

0 commit comments

Comments
 (0)