Fix Python 3.8 error issues

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

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.