MCPcopy Index your code
hub / github.com/python/cpython / TestableTest

Class TestableTest

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

Source from the content-addressed store, hash-verified

83class TestCleanUp(unittest.TestCase):
84 def testCleanUp(self):
85 class TestableTest(unittest.TestCase):
86 def testNothing(self):
87 pass
88
89 test = TestableTest('testNothing')
90 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…