This commit is contained in:
rocky
2024-07-13 09:51:06 -04:00
parent d4bd8bae71
commit 2ce546784c

View File

@@ -87,12 +87,6 @@ for vers in TEST_VERSIONS:
else: else:
if vers == "native": if vers == "native":
short_vers = os.path.basename(sys.path[-1]) short_vers = os.path.basename(sys.path[-1])
from xdis.version_info import PYTHON_VERSION_TRIPLE, version_tuple_to_str
if PYTHON_VERSION_TRIPLE > (3, 0):
version = version_tuple_to_str(end=2)
PYC = "*.cpython-%s.pyc" % version
>>>>>>> python-3.0-to-3.2
test_options[vers] = (sys.path[-1], PYC, short_vers) test_options[vers] = (sys.path[-1], PYC, short_vers)
else: else:
short_vers = vers[:3] short_vers = vers[:3]