[pypy-svn] r5439 - pypy/trunk/src/pypy/interpreter/test

mwh at codespeak.net mwh at codespeak.net
Mon Jul 5 16:30:35 CEST 2004


Author: mwh
Date: Mon Jul  5 16:30:35 2004
New Revision: 5439

Modified:
   pypy/trunk/src/pypy/interpreter/test/test_nestedscope.py
Log:
fix test


Modified: pypy/trunk/src/pypy/interpreter/test/test_nestedscope.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/test/test_nestedscope.py	(original)
+++ pypy/trunk/src/pypy/interpreter/test/test_nestedscope.py	Mon Jul  5 16:30:35 2004
@@ -55,7 +55,7 @@
             return g()
         outer_locals, inner_locals = f()
         self.assertEquals(inner_locals, {'i':3})
-        self.assertEquals(len(outer_locals), 1, "len!=1 for %r" % outer_locals)
+        self.assertEquals(len(outer_locals), 1, "len!=1 for %r" % (outer_locals,))
 
 if __name__ == '__main__':
     testit.main()



More information about the Pypy-commit mailing list