diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-08-28 08:19:08 +0300 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2020-08-28 08:19:08 +0300 |
commit | 44f2564f00230d1fb80c0ff1b36ce18bebe938db (patch) | |
tree | f7984921617236446196457b6fd407e03706a3c2 | |
parent | add missing import (diff) | |
download | pypy-44f2564f00230d1fb80c0ff1b36ce18bebe938db.tar.gz pypy-44f2564f00230d1fb80c0ff1b36ce18bebe938db.tar.bz2 pypy-44f2564f00230d1fb80c0ff1b36ce18bebe938db.zip |
properly skipif test
-rw-r--r-- | pypy/module/_cffi_backend/test/test_re_python.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pypy/module/_cffi_backend/test/test_re_python.py b/pypy/module/_cffi_backend/test/test_re_python.py index f7091272a0..0f55c114e8 100644 --- a/pypy/module/_cffi_backend/test/test_re_python.py +++ b/pypy/module/_cffi_backend/test/test_re_python.py @@ -253,12 +253,11 @@ class AppTestRecompilerPython: from re_python_pysrc import ffi ffi.new("selfref_ptr_t") + @py.test.mark.skipif('WIN32', reason='uses "dl" explicitly') def test_dlopen_handle(self): import _cffi_backend, sys self.fix_path() from re_python_pysrc import ffi - if self.dl_libpath is None: - py.test.skip("uses 'dl' explicitly") lib1 = ffi.dlopen(self.dl_libpath) handle = lib1.dlopen(self.extmod.encode(sys.getfilesystemencoding()), _cffi_backend.RTLD_LAZY) |