MCPcopy Index your code
hub / github.com/RustPython/RustPython / TestableTest

Class TestableTest

Lib/test/test_unittest/test_runner.py:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81class TestCleanUp(unittest.TestCase):
82 def testCleanUp(self):
83 class TestableTest(unittest.TestCase):
84 def testNothing(self):
85 pass
86
87 test = TestableTest('testNothing')
88 self.assertEqual(test._cleanups, [])

Calls

no outgoing calls

Tested by 9

testCleanUpMethod · 0.56
testCleanUpWithErrorsMethod · 0.56
testCleanupInRunMethod · 0.56
test_enterContextMethod · 0.56
test_addClassCleanUpMethod · 0.56