MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_search_major_3

Method test_search_major_3

Lib/test/test_launcher.py:440–446  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

438 )
439
440 def test_search_major_3(self):
441 try:
442 data = self.run_py(["-3"], allow_fail=True)
443 except subprocess.CalledProcessError:
444 raise unittest.SkipTest("requires at least one Python 3.x install")
445 self.assertEqual("PythonCore", data["env.company"])
446 self.assertStartsWith(data["env.tag"], "3.")
447
448 def test_search_major_3_32(self):
449 try:

Callers

nothing calls this directly

Calls 3

run_pyMethod · 0.80
assertEqualMethod · 0.45
assertStartsWithMethod · 0.45

Tested by

no test coverage detected