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

Method test_search_major_3

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

Source from the content-addressed store, hash-verified

445 )
446
447 def test_search_major_3(self):
448 try:
449 data = self.run_py(["-3"], allow_fail=True)
450 except subprocess.CalledProcessError:
451 raise unittest.SkipTest("requires at least one Python 3.x install")
452 self.assertEqual("PythonCore", data["env.company"])
453 self.assertStartsWith(data["env.tag"], "3.")
454
455 def test_search_major_3_32(self):
456 try:

Callers

nothing calls this directly

Calls 3

run_pyMethod · 0.80
assertStartsWithMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected