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

mwh at codespeak.net mwh at codespeak.net
Wed May 28 17:29:43 CEST 2003


Author: mwh
Date: Wed May 28 17:29:43 2003
New Revision: 627

Modified:
   pypy/trunk/src/pypy/objspace/std/test/test_objspace.py
Log:
modernization, in preparation for a mv into pypy/interpreter/test.
fails with TrivialObjSpace, which indicates something of a problem.


Modified: pypy/trunk/src/pypy/objspace/std/test/test_objspace.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/test_objspace.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/test/test_objspace.py	Wed May 28 17:29:43 2003
@@ -1,14 +1,9 @@
-import unittest, sys
 import testsupport
-from pypy.interpreter import unittest_w
-from pypy.objspace.std import noneobject as nobj
-from pypy.objspace.std.objspace import *
 
-
-class TestStdObjectSpace(unittest_w.TestCase_w):
+class TestStdObjectSpace(testsupport.TestCase):
 
     def setUp(self):
-        self.space = StdObjSpace()
+        self.space = testsupport.objspace()
 
     def tearDown(self):
         pass
@@ -31,4 +26,4 @@
                             [w(-1)])
 
 if __name__ == '__main__':
-    unittest.main()
+    testsupport.main()


More information about the Pypy-commit mailing list