[pypy-svn] rev 1115 - pypy/trunk/src/pypy/objspace/std/test

hpk at codespeak.net hpk at codespeak.net
Mon Jul 7 23:55:52 CEST 2003


Author: hpk
Date: Mon Jul  7 23:55:51 2003
New Revision: 1115

Modified:
   pypy/trunk/src/pypy/objspace/std/test/test_intobject.py
Log:
made the setUp function set the space instance attr of the TestCase



Modified: pypy/trunk/src/pypy/objspace/std/test/test_intobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/test_intobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/test/test_intobject.py	Mon Jul  7 23:55:51 2003
@@ -7,8 +7,7 @@
 class TestW_IntObject(test.TestCase):
 
     def setUp(self):
-        # only run when testing StdObjSpace
-        test.objspace('std')
+        self.space = test.objspace('std')
 
     def tearDown(self):
         pass


More information about the Pypy-commit mailing list