Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r61987:a421042f59d5
Date: 2013-03-03 22:33 -0500
http://bitbucket.org/pypy/pypy/changeset/a421042f59d5/

Log:    fix test_os_wait for win32

diff --git a/pypy/module/test_lib_pypy/test_os_wait.py 
b/pypy/module/test_lib_pypy/test_os_wait.py
--- a/pypy/module/test_lib_pypy/test_os_wait.py
+++ b/pypy/module/test_lib_pypy/test_os_wait.py
@@ -5,9 +5,8 @@
 
 import os
 
-from lib_pypy._pypy_wait import wait3, wait4
-
 if hasattr(os, 'wait3'):
+    from lib_pypy._pypy_wait import wait3
     def test_os_wait3():
         exit_status = 0x33
 
@@ -26,6 +25,7 @@
             assert isinstance(rusage.ru_maxrss, int)
 
 if hasattr(os, 'wait4'):
+    from lib_pypy._pypy_wait import wait4
     def test_os_wait4():
         exit_status = 0x33
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to