8000 bugfix in testing: mark ImageComparisonFailure as FAIL, not ERROR · matplotlib/matplotlib@24ee9ee · GitHub
[go: up one dir, main page]

Skip to content

Commit 24ee9ee

Browse files
committed
bugfix in testing: mark ImageComparisonFailure as FAIL, not ERROR
solves: #70
1 parent fb78581 commit 24ee9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/noseclasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class KnownFailureDidNotFailTest(Exception):
99
'''Raise this exception to mark a test should have failed but did not.'''
1010
pass
1111

12-
class ImageComparisonFailure(Exception):
12+
class ImageComparisonFailure(AssertionError):
1313
'''Raise this exception to mark a test as a comparison between two images.'''
1414

1515
class KnownFailure(ErrorClassPlugin):

0 commit comments

Comments
 (0)
0