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

Method test_locals

Lib/test/test_unittest/test_runner.py:1278–1281  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1276 self.assertTrue(result.buffer)
1277
1278 def test_locals(self):
1279 runner = unittest.TextTestRunner(stream=io.StringIO(), tb_locals=True)
1280 result = runner.run(unittest.TestSuite())
1281 self.assertEqual(True, result.tb_locals)
1282
1283 def testRunnerRegistersResult(self):
1284 class Test(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected