summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3914ed0520..bb186d126f 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)