Remove one more float version test

This commit is contained in:
rocky
2021-11-16 06:47:31 -05:00
parent 4d351e31cd
commit 88dd5d7756

View File

@@ -82,9 +82,10 @@ for vers in TEST_VERSIONS:
else:
if vers == "native":
short_vers = os.path.basename(sys.path[-1])
from xdis import PYTHON_VERSION
if PYTHON_VERSION > 3.0:
PYC = "*.cpython-%d.pyc" % int(PYTHON_VERSION * 10)
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 = f"*.cpython-{version}.pyc"
test_options[vers] = (sys.path[-1], PYC, short_vers)
else:
short_vers = vers[:3]