commit | f5574a0c290aac0ec581415fdd343641c00d5d42 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Jul 21 22:05:34 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Jul 21 22:05:34 2008 +0000 |
tree | be689a59d8c4bea089a61fb6e250c537c4d94b10 | |
parent | e4921fec0140da8c64f9e694904a7d709de745b4 [diff] [blame] |
don't use assert statement
diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index 3914ed0..bb186d1 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py
@@ -533,7 +533,7 @@ def f(self): return x - assert x == 12 # Used to raise UnboundLocalError + self.assertEquals(x, 12) # Used to raise UnboundLocalError finally: sys.settrace(None)