[pypy-commit] pypy py3.5: revert, test still hangs

mattip pypy.commits at gmail.com
Tue Dec 26 00:57:00 EST 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.5
Changeset: r93574:7d0ede73cb01
Date: 2017-12-26 07:56 +0200
http://bitbucket.org/pypy/pypy/changeset/7d0ede73cb01/

Log:	revert, test still hangs

diff --git a/pypy/module/time/test/test_time.py b/pypy/module/time/test/test_time.py
--- a/pypy/module/time/test/test_time.py
+++ b/pypy/module/time/test/test_time.py
@@ -13,10 +13,12 @@
         assert isinstance(time._STRUCT_TM_ITEMS, int)
 
     def test_sleep(self):
-        import time
+        import time, sys
         raises(TypeError, time.sleep, "foo")
         time.sleep(0.12345)
         raises(ValueError, time.sleep, -1.0)
+        if sys.platform == 'win32':
+            assert False, 'hangs on win32 after translation'
         raises((ValueError, OverflowError), time.sleep, float('nan'))
         raises(OverflowError, time.sleep, float('inf'))
 


More information about the pypy-commit mailing list