Lines Matching refs:extras
35 def assertEqual(first, second, msg=None, extras=None): argument
53 fail(my_msg, extras=extras)
56 def assertNotEqual(first, second, msg=None, extras=None): argument
75 fail(my_msg, extras=extras)
78 def assertRaises(expected_exception, extras=None, *args, **kwargs): argument
94 context = _AssertRaisesContext(expected_exception, extras=extras)
100 extras=None, argument
121 expected_exception, expected_regex, extras=extras)
125 def assertTrue(expr, msg, extras=None): argument
135 fail(msg, extras)
138 def assertFalse(expr, msg, extras=None): argument
148 fail(msg, extras)
151 def assertLess(first, second, msg=None, extras=None): argument
170 fail(my_msg, extras=extras)
173 def skip(reason, extras=None): argument
184 raise signals.TestSkip(reason, extras)
187 def skipIf(expr, reason, extras=None): argument
197 skip(reason, extras)
200 def abortClass(reason, extras=None): argument
216 raise signals.TestAbortClass(reason, extras)
219 def abortClassIf(expr, reason, extras=None): argument
237 abortClass(reason, extras)
240 def abortAll(reason, extras=None): argument
252 raise signals.TestAbortAll(reason, extras)
255 def abortAllIf(expr, reason, extras=None): argument
269 abortAll(reason, extras)
272 def fail(msg, extras=None): argument
283 raise signals.TestFailure(msg, extras)
286 def explicitPass(msg, extras=None): argument
301 raise signals.TestPass(msg, extras)
307 def __init__(self, expected, expected_regexp=None, extras=None): argument
311 self.extras = extras
323 "{} not raised".format(exc_name), extras=self.extras)
338 extras=self.extras)