Home
last modified time | relevance | path

Searched refs:suiteClass (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/unittest/
Dloader.py38 def _make_failed_import_test(name, suiteClass): argument
41 return _make_failed_test(name, ImportError(message), suiteClass, message)
43 def _make_failed_load_tests(name, exception, suiteClass): argument
46 name, exception, suiteClass, message)
48 def _make_failed_test(methodname, exception, suiteClass, message): argument
50 return suiteClass((test,)), message
52 def _make_skipped_test(methodname, exception, suiteClass): argument
58 return suiteClass((TestClass(methodname),))
74 suiteClass = suite.TestSuite variable in TestLoader
93 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
[all …]
/third_party/python/Lib/unittest/test/
Dtest_loader.py102 self.assertIsInstance(suite, loader.suiteClass)
121 self.assertIsInstance(suite, loader.suiteClass)
123 expected = [loader.suiteClass([MyTestCase('test')])]
134 self.assertIsInstance(suite, loader.suiteClass)
148 self.assertIsInstance(suite, loader.suiteClass)
150 self.assertEqual(list(suite), [loader.suiteClass()])
566 self.assertIsInstance(suite, loader.suiteClass)
582 self.assertIsInstance(suite, loader.suiteClass)
597 self.assertIsInstance(suite, loader.suiteClass)
637 self.assertIsInstance(suite, loader.suiteClass)
[all …]
Dtest_discovery.py81 loader.suiteClass = lambda thing: thing
127 loader.suiteClass = lambda thing: thing
182 loader.suiteClass = lambda thing: thing
256 loader.suiteClass = lambda thing: thing
346 loader.suiteClass = lambda thing: thing
403 loader.suiteClass = str
450 loader.suiteClass = lambda thing: thing
848 loader.suiteClass = list
Dtest_program.py68 return self.suiteClass(
72 return self.suiteClass(
/third_party/python/Doc/library/
Dunittest.rst1912 .. attribute:: suiteClass
/third_party/python/Doc/whatsnew/
D2.7.rst1976 :attr:`~unittest.TestLoader.suiteClass` attribute of