Commit 31eed601 authored by Tim Peters's avatar Tim Peters

test_sf_950057's gen1() used an assert statement, which caused the test

to fail when running with -O.  Changed to raise AssertionError instead.
parent ad3c409e
......@@ -652,7 +652,7 @@ class RegressionTests(unittest.TestCase):
hist.append(0)
yield 1
hist.append(1)
assert False
raise AssertionError
hist.append(2)
def gen2(x):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment