Seomtiems we need to add "yield"...

in order to get the generator bit flag set, such as in 3.x where the
yield is optimized away.
This commit is contained in:
rocky
2020-01-06 14:57:11 -05:00
parent 63a88b8eea
commit 078cca335a
4 changed files with 55 additions and 10 deletions

View File

@@ -271,7 +271,6 @@ case $PYVERSION in
[test_compare.py]=1 # test assert fail - investigate
[test_compile.py]=1
[test_configparser.py]=1
[test_contains.py]=1 # Code "while False: yield None" is optimized away in compilation
[test_contextlib_async.py]=1 # Investigate
[test_context.py]=1
[test_coroutines.py]=1 # Parse error
@@ -293,7 +292,6 @@ case $PYVERSION in
;;
3.8)
SKIP_TESTS=(
[test_contains.py]=1 # Code "while False: yield None" is optimized away in compilation
[test_collections.py]=1 # Investigate
[test_decorators.py]=1 # Control flow wrt "if elif"
[test_exceptions.py]=1 # parse error