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)