mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Remove support for parsing Python 2
This commit is contained in:
1 parent
5ac4bac368
commit
b5e2e67a4d
17 files changed
+197
-809
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user