Home | History | Annotate | Download | only in test

Lines Matching refs:BaseException

207             (BaseException, (), {'message' : '', 'args' : ()}),
208 (BaseException, (1, ), {'message' : 1, 'args' : (1,)}),
209 (BaseException, ('foo',),
211 (BaseException, ('foo', 1),
283 except BaseException, e:
309 # Accessing BaseException.message and relying on its value set by
310 # BaseException.__init__ triggers a deprecation warning.
311 exc = BaseException("foo")
312 with check_warnings(("BaseException.message has been deprecated "
318 # Accessing BaseException.message after explicitly setting a value
320 exc = BaseException("foo")
347 exc = BaseException(*args)
354 self.assertRaises(TypeError, BaseException, a=1)
356 class DerivedException(BaseException):
358 BaseException.__init__(self)