[pypy-commit] pypy default: Don't skip the dlopenflags tests ever.

habnabit pypy.commits at gmail.com
Sat Jun 11 02:48:24 EDT 2016


Author: Aaron Gallagher <habnabit at google.com>
Branch: 
Changeset: r85089:f1493c435457
Date: 2016-06-10 15:44 -0700
http://bitbucket.org/pypy/pypy/changeset/f1493c435457/

Log:	Don't skip the dlopenflags tests ever.

	They're not conditionally defined in pypy, so there's no reason to
	skip.

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,10 +445,6 @@
 
     def test_dlopenflags(self):
         import sys
-        if not hasattr(sys, "setdlopenflags"):
-            skip('dlopen flags are not available.')
-
-        assert hasattr(sys, "getdlopenflags")
         raises(TypeError, sys.getdlopenflags, 42)
         oldflags = sys.getdlopenflags()
         raises(TypeError, sys.setdlopenflags)


More information about the pypy-commit mailing list