summaryrefslogtreecommitdiff
path: root/test/functional/invalid_exceptions_raised.txt
blob: b4e8716abf2eb05cd1fa0d06c81485af1c8d0439 (plain)
1
2
3
4
5
6
7
8
9
10
11
nonstandard-exception:23:bad_case0:"Exception doesn't inherit from standard ""Exception"" class":INFERENCE
raising-non-exception:23:bad_case0:Raising a new style class which doesn't inherit from BaseException
raising-non-exception:27:bad_case1:Raising a new style class which doesn't inherit from BaseException
nonstandard-exception:33:bad_case2:"Exception doesn't inherit from standard ""Exception"" class":INFERENCE
old-raise-syntax:33:bad_case2:Use raise ErrorClass(args) instead of raise ErrorClass, args.
raising-non-exception:33:bad_case2:Raising a new style class which doesn't inherit from BaseException
raising-non-exception:37:bad_case3:Raising a new style class which doesn't inherit from BaseException
notimplemented-raised:42:bad_case4:NotImplemented raised - should raise NotImplementedError
old-raise-syntax:42:bad_case4:Use raise ErrorClass(args) instead of raise ErrorClass, args.
raising-bad-type:46:bad_case5:Raising int while only classes or instances are allowed
raising-bad-type:50:base_case6:Raising NoneType while only classes or instances are allowed