3.7 test_fstring now works.

This commit is contained in:
rocky
2020-01-14 00:09:04 -05:00
parent 73937ffeb4
commit 0706f18b1d
2 changed files with 1 additions and 2 deletions

View File

@@ -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:]