Author: Matti Picus <[email protected]>
Branch: 
Changeset: r92394:1eac75e69a12
Date: 2017-09-14 22:41 +0300
http://bitbucket.org/pypy/pypy/changeset/1eac75e69a12/

Log:    os has no uname on win32

diff --git a/pypy/module/select/test/test_select.py 
b/pypy/module/select/test/test_select.py
--- a/pypy/module/select/test/test_select.py
+++ b/pypy/module/select/test/test_select.py
@@ -329,7 +329,7 @@
     }
 
     import os
-    if os.uname()[4] == 's390x':
+    if hasattr(os, 'uname') and os.uname()[4] == 's390x':
         py.test.skip("build bot for s390x cannot open sockets")
 
     def w_make_server(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to