summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_scope.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-21 22:05:34 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-21 22:05:34 (GMT)
commitf5574a0c290aac0ec581415fdd343641c00d5d42 (patch)
treebe689a59d8c4bea089a61fb6e250c537c4d94b10 /Lib/test/test_scope.py
parente4921fec0140da8c64f9e694904a7d709de745b4 (diff)
downloadcpython-f5574a0c290aac0ec581415fdd343641c00d5d42.zip
cpython-f5574a0c290aac0ec581415fdd343641c00d5d42.tar.gz
cpython-f5574a0c290aac0ec581415fdd343641c00d5d42.tar.bz2
don't use assert statement
Diffstat (limited to 'Lib/test/test_scope.py')
-rw-r--r--Lib/test/test_scope.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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)