[pypy-commit] pypy py3.5: Un-xfail a test; delete one that doesn't make sense on pypy3

rlamy pypy.commits at gmail.com
Mon Jul 31 07:55:19 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r91997:46c9f0976aad
Date: 2017-07-31 12:54 +0100
http://bitbucket.org/pypy/pypy/changeset/46c9f0976aad/

Log:	Un-xfail a test; delete one that doesn't make sense on pypy3

diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -90,7 +90,6 @@
         assert not self.space.finalizer_queue.next_dead()
 
 
- at pytest.mark.xfail(reason="Skipped until other tests in this file are unskipped")
 class AppTestApi(LeakCheckingTest):
     def setup_class(cls):
         from rpython.rlib.clibffi import get_libc_name
@@ -112,12 +111,6 @@
     def test_only_import(self):
         import cpyext
 
-    @pytest.mark.skipif(only_pypy, reason='pypy only test')
-    def test_load_error(self):
-        import cpyext
-        raises(ImportError, cpyext.load_module, "missing.file", "foo")
-        raises(ImportError, cpyext.load_module, self.libc, "invalid.function")
-
     def test_dllhandle(self):
         import sys
         if sys.platform != "win32" or sys.version_info < (2, 6):


More information about the pypy-commit mailing list