Commit f5574a0c authored by Benjamin Peterson's avatar Benjamin Peterson

don't use assert statement

parent e4921fec
......@@ -533,7 +533,7 @@ self.assert_(X.passed)
def f(self):
return x
assert x == 12 # Used to raise UnboundLocalError
self.assertEquals(x, 12) # Used to raise UnboundLocalError
finally:
sys.settrace(None)
......
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