MCPcopy Index your code
hub / github.com/python/mypy / test_using_mypyc

Method test_using_mypyc

mypy/test/testmypyc.py:14–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13class MypycTest(TestCase):
14 def test_using_mypyc(self) -> None:
15 if os.getenv("TEST_MYPYC", None) == "1":
16 assert not mypy.__file__.endswith(".py"), "Expected to find a mypyc-compiled version"
17
18 def test_shared_files_consistent(self) -> None:
19 if os.getenv("TEST_MYPYC", None) != "1":

Callers

nothing calls this directly

Calls 1

endswithMethod · 0.45

Tested by

no test coverage detected