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

Method test_main

Lib/test/test__interpreters.py:225–227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223class IsRunningTests(TestBase):
224
225 def test_main(self):
226 main, *_ = _interpreters.get_main()
227 self.assertTrue(_interpreters.is_running(main))
228
229 @unittest.skip('Fails on FreeBSD')
230 def test_subinterpreter(self):

Callers

nothing calls this directly

Calls 2

assertTrueMethod · 0.80
is_runningMethod · 0.45

Tested by

no test coverage detected