mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Fix Python 3.8 error issues
This commit is contained in:
1 parent
18cbeb1a3d
commit
b2ab64d8f9
3 files changed
+59
-23
No files matched your search
@@ -251,10 +251,6 @@ GLOBAL_NONLOCAL_ERROR = [
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
FAILING_EXAMPLES += GLOBAL_NONLOCAL_ERROR
|
||||
FAILING_EXAMPLES += [
|
||||
# Raises multiple errors in previous versions.
|
||||
'async def foo():\n def nofoo():[x async for x in []]',
|
||||
]
|
||||
if sys.version_info >= (3, 5):
|
||||
FAILING_EXAMPLES += [
|
||||
# Raises different errors so just ignore them for now.
|
||||
|
||||
Reference in new issue
Block a user