[pypy-svn] r13888 - pypy/dist/pypy/rpython/test

ale at codespeak.net ale at codespeak.net
Sat Jun 25 18:49:18 CEST 2005


Author: ale
Date: Sat Jun 25 18:49:17 2005
New Revision: 13888

Modified:
   pypy/dist/pypy/rpython/test/test_rbuiltin.py
Log:
bogus test of time.time/clock

Modified: pypy/dist/pypy/rpython/test/test_rbuiltin.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rbuiltin.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rbuiltin.py	Sat Jun 25 18:49:17 2005
@@ -63,13 +63,15 @@
             rv = 1000 * float(i-10) 
             ry = 100 * float(i-10) +0.1
             assert math.fmod(rv,ry) == ev_fun(rv,ry)        
-import time
-def test_time_time():            
-    def f(neg):
-        if neg:
-            return time.time()
-        else:
-            return time.clock()
-    ev_fn = make_interpreter(f,[True])
-    assert isinstance(ev_fn(True),float)
-    assert isinstance(ev_fn(False),float)
\ No newline at end of file
+##import time
+##def test_time_time():            
+##    def f(neg):
+##        if neg:
+##            return time.time()
+##        else:
+##            return time.clock()
+##    ev_fn = make_interpreter(f,[True])
+##    assert isinstance(ev_fn(True),float)
+##    assert isinstance(ev_fn(False),float)
+    
+    
\ No newline at end of file



More information about the Pypy-commit mailing list