[pypy-svn] r28361 - pypy/dist/pypy/module/time2/test

hpk at codespeak.net hpk at codespeak.net
Tue Jun 6 12:53:17 CEST 2006


Author: hpk
Date: Tue Jun  6 12:53:16 2006
New Revision: 28361

Modified:
   pypy/dist/pypy/module/time2/test/test_time.py
Log:
add a comments that we'd like to have the test be runnable
with CPyObjSpace (but it lacks support for the PyPy interpreter) 


Modified: pypy/dist/pypy/module/time2/test/test_time.py
==============================================================================
--- pypy/dist/pypy/module/time2/test/test_time.py	(original)
+++ pypy/dist/pypy/module/time2/test/test_time.py	Tue Jun  6 12:53:16 2006
@@ -1,8 +1,9 @@
-from pypy.objspace.std import StdObjSpace 
+from pypy.objspace.std import Space 
+#from pypy.objspace.cpy import Space  # XXX should work! 
 import time
 
 def setup_module(mod): 
-    mod.space = StdObjSpace(usemodules=['time2'])
+    mod.space = Space(usemodules=['time2'])
 
 class TestTime: 
     def test_clock(self):



More information about the Pypy-commit mailing list