You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Adjust for 3.3 language
This commit is contained in:
@@ -90,7 +90,7 @@ for vers in TEST_VERSIONS:
|
|||||||
|
|
||||||
if PYTHON_VERSION_TRIPLE > (3, 0):
|
if PYTHON_VERSION_TRIPLE > (3, 0):
|
||||||
version = version_tuple_to_str(end=2)
|
version = version_tuple_to_str(end=2)
|
||||||
PYC = f"*.cpython-{version}.pyc"
|
PYC = "*.cpython-%s.pyc" % version
|
||||||
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]
|
||||||
|
Reference in New Issue
Block a user