You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
3.7 test_fstring now works.
This commit is contained in:
@@ -45,7 +45,6 @@ SKIP_TESTS=(
|
||||
[test_float.py]=1
|
||||
[test_format.py]=1
|
||||
[test_frame.py]=1
|
||||
[test_fstring.py]=1 # Investigate
|
||||
[test_ftplib.py]=1
|
||||
[test_functools.py]=1
|
||||
[test_gdb.py]=1 # it fails on its own
|
||||
|
@@ -516,7 +516,7 @@ def customize_for_version36(self, version):
|
||||
for expr in node[:-1]:
|
||||
assert expr == "expr"
|
||||
value = self.traverse(expr, indent="")
|
||||
if expr[0].kind.startswith('formatted_value'):
|
||||
if expr[0].kind.startswith("formatted_value"):
|
||||
# remove leading 'f'
|
||||
if value.startswith("f"):
|
||||
value = value[1:]
|
||||
|
Reference in New Issue
Block a user