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

Skip to content

Commit 02d7003

Browse files
committed
testing: allow fail_condition to be 'indeterminate' for knownfailureif decorator
svn path=/trunk/matplotlib/; revision=7642
1 parent 4524134 commit 02d7003

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
@@ -19,7 +19,7 @@ def failer(*args, **kwargs):
1919
raise KnownFailureTest(msg)
2020
else:
2121
raise
22-
if fail_condition:
22+
if fail_condition and fail_condition != 'indeterminate':
2323
raise KnownFailureDidNotFailTest(msg)
2424
return result
2525
return nose.tools.make_decorator(f)(failer)

0 commit comments

Comments
 (0)