[pypy-svn] r31405 - pypy/dist/pypy/module/rctime/test

rhymes at codespeak.net rhymes at codespeak.net
Sat Aug 19 16:12:37 CEST 2006


Author: rhymes
Date: Sat Aug 19 16:12:35 2006
New Revision: 31405

Modified:
   pypy/dist/pypy/module/rctime/test/test_rctime.py
Log:
fix test. Now rctime module works fully in Windows too! Except for timezone, tzname, altzone and daylight module attributes...

Modified: pypy/dist/pypy/module/rctime/test/test_rctime.py
==============================================================================
--- pypy/dist/pypy/module/rctime/test/test_rctime.py	(original)
+++ pypy/dist/pypy/module/rctime/test/test_rctime.py	Sat Aug 19 16:12:35 2006
@@ -18,6 +18,7 @@
     def test_sleep(self):
         import rctime
         import sys
+        import os
         raises(TypeError, rctime.sleep, "foo")
         rctime.sleep(1.2345)
         if os.name == "nt":
@@ -134,7 +135,7 @@
         import os
         
         if not os.name == "posix":
-            py.test.skip("available only under Unix")
+            skip("tzset available only under Unix")
     
         # epoch time of midnight Dec 25th 2002. Never DST in northern
         # hemisphere.



More information about the Pypy-commit mailing list