Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
6 lines
269 B
ReStructuredText
Executable file
6 lines
269 B
ReStructuredText
Executable file
>>> from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin
|
|
>>> class X(Exception):
|
|
... pass
|
|
>>> xes = ErrorClass(X, label='XXX')
|
|
Traceback (most recent call last):
|
|
TypeError: 'isfailure' is a required named argument for ErrorClass
|