Fix indentation format in "async for"

This commit is contained in:
rocky
2019-12-16 13:36:46 -05:00
parent e56a3c86d5
commit 179fcafaba
2 changed files with 9 additions and 1 deletions

View File

@@ -168,6 +168,14 @@ case $PYVERSION in
[test_quopri.py]=1 # Only fails on POWER
)
;;
3.7)
SKIP_TESTS=(
[test_argparse.py]=1 #
[test_ast.py]=1 #
[test_contains.py]=1 # Code "while False: yield None" is optimized away in compilation
[test_decorators.py]=1 # Control flow wrt "if elif"
)
;;
*)
SKIP_TESTS=( [test_aepack.py]=1
[audiotests.py]=1

View File

@@ -33,7 +33,7 @@ def customize_for_version37(self, version):
'%|async for %c in %c:\n%+%c%-%|else:\n%+%c%-\n\n',
(7, 'store'), (1, 'expr'), (17, 'for_block'), (25, 'else_suite') ),
'async_for_stmt': (
'%|async for %c in %c:\n%+%c%-%-\n\n',
'%|async for %c in %c:\n%+%c%-\n\n',
(7, 'store'), (1, 'expr'), (17, 'for_block')),
'async_for_stmt37': (
'%|async for %c in %c:\n%+%c%-%-\n\n',