Author: Matti Picus <[email protected]>
Branch: 
Changeset: r92419:e9e0fd719251
Date: 2017-09-19 17:55 +0300
http://bitbucket.org/pypy/pypy/changeset/e9e0fd719251/

Log:    on win32, sys does not have {gs}etdlopenflags

diff --git a/pypy/module/sys/test/test_sysmodule.py 
b/pypy/module/sys/test/test_sysmodule.py
--- a/pypy/module/sys/test/test_sysmodule.py
+++ b/pypy/module/sys/test/test_sysmodule.py
@@ -445,6 +445,8 @@
 
     def test_dlopenflags(self):
         import sys
+        if not hasattr(sys, "getdlopenflags"):
+            skip('{gs}etdlopenflags is not implemented on this platform')
         raises(TypeError, sys.getdlopenflags, 42)
         oldflags = sys.getdlopenflags()
         raises(TypeError, sys.setdlopenflags)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to