diff --git a/test/bytecode_3.6/01_extended_arg.pyc b/test/bytecode_3.6/01_extended_arg.pyc index e9297f13..727c5740 100644 Binary files a/test/bytecode_3.6/01_extended_arg.pyc and b/test/bytecode_3.6/01_extended_arg.pyc differ diff --git a/test/bytecode_3.7/01_extended_arg.pyc b/test/bytecode_3.7/01_extended_arg.pyc index ed32a996..95be5135 100644 Binary files a/test/bytecode_3.7/01_extended_arg.pyc and b/test/bytecode_3.7/01_extended_arg.pyc differ diff --git a/test/simple_source/bug36/01_extended_arg.py b/test/simple_source/bug36/01_extended_arg.py index 59c4de69..fa2efa05 100644 --- a/test/simple_source/bug36/01_extended_arg.py +++ b/test/simple_source/bug36/01_extended_arg.py @@ -65,3 +65,18 @@ def testAttributes(exceptionList): x = 0; x = 1; x = 2; x = 3; x = 4; x = 5; x = 6; x = 7; x = 8; x = 9; x = 0; x = 1; x = 2; x = 3; x = 4; x = 5; x = 6; x = 7; x = 8; x = 9; x = 0 + +# From test_urllibnet2.py +# Bug was in detecting end of "if" flowing into an extended-arg "for". +def _test_urls(retry, urls): + if retry: + urlopen = 1 + + for url in urls: + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0; shape_t = 1; shape_t = 2; shape_t = 3; shape_t = 4; shape_t = 5; shape_t = 6; shape_t = 7; shape_t = 8; shape_t = 9 + shape_t = 0