Remove support for parsing Python 2

This commit is contained in:
Dave Halter
2020-07-24 14:48:02 +02:00
parent 5ac4bac368
commit b5e2e67a4d
17 changed files with 197 additions and 809 deletions

View File

@@ -411,8 +411,8 @@ def test_backslash():
]),
]
)
def test_fstring_token_types(code, types, version_ge_py36):
actual_types = [t.type for t in _get_token_list(code, version_ge_py36)]
def test_fstring_token_types(code, types, each_version):
actual_types = [t.type for t in _get_token_list(code, each_version)]
assert types + [ENDMARKER] == actual_types