Fix Python 3.8 error issues

This commit is contained in:
Dave Halter committed 2019-04-05 18:30:48 +02:00
1 parent 18cbeb1a3d
commit b2ab64d8f9
3 files changed
+59 -23

No files matched your search

-4
View File
@@ -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.