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

Method test_search_major_3_32

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

Source from the content-addressed store, hash-verified

446 self.assertStartsWith(data["env.tag"], "3.")
447
448 def test_search_major_3_32(self):
449 try:
450 data = self.run_py(["-3-32"], allow_fail=True)
451 except subprocess.CalledProcessError:
452 if not any(is_installed(f"3.{i}-32") for i in range(5, 11)):
453 raise unittest.SkipTest("requires at least one 32-bit Python 3.x install")
454 raise
455 self.assertEqual("PythonCore", data["env.company"])
456 self.assertStartsWith(data["env.tag"], "3.")
457 self.assertEndsWith(data["env.tag"], "-32")
458
459 def test_search_major_2(self):
460 try:

Callers

nothing calls this directly

Calls 6

is_installedFunction · 0.85
run_pyMethod · 0.80
anyFunction · 0.50
assertEqualMethod · 0.45
assertStartsWithMethod · 0.45
assertEndsWithMethod · 0.45

Tested by

no test coverage detected