aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-09-13 18:29:58 +0300
committerMatti Picus <matti.picus@gmail.com>2020-09-13 18:29:58 +0300
commitd06ea5ff794b0de410255861e4968f2e041d0004 (patch)
tree01a3073d736ec1109d6fff46e76ddd7b9fe9baf9
parentprevent re-entrant use of iterator in itertools.tee, bpo-34410 (diff)
downloadpypy-d06ea5ff794b0de410255861e4968f2e041d0004.tar.gz
pypy-d06ea5ff794b0de410255861e4968f2e041d0004.tar.bz2
pypy-d06ea5ff794b0de410255861e4968f2e041d0004.zip
graft d01e96b01e70: skip untranslated test on windows
-rw-r--r--pypy/module/_cffi_backend/test/test_c.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pypy/module/_cffi_backend/test/test_c.py b/pypy/module/_cffi_backend/test/test_c.py
index 05e74db1fd..c4a469ca69 100644
--- a/pypy/module/_cffi_backend/test/test_c.py
+++ b/pypy/module/_cffi_backend/test/test_c.py
@@ -82,10 +82,11 @@ class AppTestC(object):
w_is_global = space.wrap(0)
if space.is_w(w_name, space.w_None):
path = None
+ w_name = 'None'
else:
import ctypes.util
path = ctypes.util.find_library(space.text_w(w_name))
- if path is None:
+ if path is None and sys.platform is 'win32':
py.test.skip("cannot find library '%s'" % (space.text_w(w_name),))
return space.appexec([space.wrap(path), w_is_global],
"""(path, is_global):