diff --git a/test/bytecode_2.5/03_weird26.pyc b/test/bytecode_2.5/03_weird26.pyc new file mode 100644 index 00000000..19297d87 Binary files /dev/null and b/test/bytecode_2.5/03_weird26.pyc differ diff --git a/test/bytecode_2.6/03_weird26.pyc b/test/bytecode_2.6/03_weird26.pyc index b59367d3..3823cc5b 100644 Binary files a/test/bytecode_2.6/03_weird26.pyc and b/test/bytecode_2.6/03_weird26.pyc differ diff --git a/test/bytecode_2.7/03_weird26.pyc b/test/bytecode_2.7/03_weird26.pyc new file mode 100644 index 00000000..39e093f2 Binary files /dev/null and b/test/bytecode_2.7/03_weird26.pyc differ diff --git a/test/simple_source/bug26/03_weird26.py b/test/simple_source/bug26/03_weird26.py index 63e1dcc8..3447f701 100644 --- a/test/simple_source/bug26/03_weird26.py +++ b/test/simple_source/bug26/03_weird26.py @@ -10,3 +10,5 @@ list(x for x in range(10) if x % 2 if x % 3) # but leave dead code or junk around that we have to match on. # Tests "conditional_true" rule (5 if 1 else max(5, 2)) + +0 or max(5, 3) if 0 else 3 diff --git a/test/stdlib/runtests.sh b/test/stdlib/runtests.sh index b0f9fc80..e0d58906 100755 --- a/test/stdlib/runtests.sh +++ b/test/stdlib/runtests.sh @@ -38,6 +38,7 @@ case $PYVERSION in [test_dis.py]=1 # We change line numbers - duh! [test_extcall.py]=1 # TypeError: saboteur() takes no arguments (1 given) [test_format.py]=1 # Control flow? + [test_grammar.py]=1 # Too many stmts. Handle large stmts [test_grp.py]=1 # Long test - might work Control flow? [test_long_future.py]=1 # Control flow? [test_math.py]=1 # Control flow? @@ -76,7 +77,7 @@ case $PYVERSION in [test_descr.py]=1 # syntax error look at [test_dis.py]=1 # We change line numbers - duh! [test_future4.py]=1 # Possible additional rule for future mechanism? - [test_grammar.py]=1 # Long test look at + [test_grammar.py]=1 # Too many stmts. Handle large stmts [test_importlib.py]=1 # Control flow? ) ;;