summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-09-03 08:15:53 +0200
committerArmin Rigo <arigo@tunes.org>2020-09-03 08:15:53 +0200
commite885fdcc35aaba254228bd10f33dc92ed6baf579 (patch)
tree0785190eb7529e3b4eeb2fd5002443313c746225
parent9dfd48b25e2d1bf12611dbb802020e3d5cbf5d2f (diff)
downloadcffi-e885fdcc35aaba254228bd10f33dc92ed6baf579.tar.gz
this test is fragile on a non-translated pypy, skip it
-rw-r--r--c/test_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/test_c.py b/c/test_c.py
index e76950f..14d3f66 100644
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -2553,8 +2553,8 @@ def test_errno():
assert get_errno() == 95
def test_errno_callback():
- if globals().get('PY_DOT_PY') == '2.5':
- py.test.skip("cannot run this test on py.py with Python 2.5")
+ if globals().get('PY_DOT_PY'):
+ py.test.skip("cannot run this test on py.py (e.g. fails on Windows)")
set_errno(95)
def cb():
e = get_errno()