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

Method test_main

Lib/test/test_interpreters/test_api.py:472–474  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

470class TestInterpreterIsRunning(TestBase):
471
472 def test_main(self):
473 main = interpreters.get_main()
474 self.assertTrue(main.is_running())
475
476 # XXX Is this still true?
477 @unittest.skip('Fails on FreeBSD')

Callers

nothing calls this directly

Calls 2

assertTrueMethod · 0.80
is_runningMethod · 0.45

Tested by

no test coverage detected