summaryrefslogtreecommitdiff
path: root/testing/support.py
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-12-07 18:47:55 +0100
committerArmin Rigo <arigo@tunes.org>2015-12-07 18:47:55 +0100
commitfffb0f348df4d6c96b2ad457d00c790fd3040d34 (patch)
treeb1ef3a65a9c867cb3beb3ff42edc0912d19f5fc7 /testing/support.py
parentf470f443a621025b589a2b15df6729aff199e537 (diff)
downloadcffi-fffb0f348df4d6c96b2ad457d00c790fd3040d34.tar.gz
Skip a couple of new tests on Windows, because this method doesn't seem
able to capture the C-level fprintf(stderr)
Diffstat (limited to 'testing/support.py')
-rw-r--r--testing/support.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/support.py b/testing/support.py
index 62643fc..c26bc91 100644
--- a/testing/support.py
+++ b/testing/support.py
@@ -39,6 +39,9 @@ class FdWriteCapture(object):
to the Posix manual."""
def __init__(self, capture_fd=2): # stderr by default
+ if sys.platform == 'win32':
+ import py
+ py.test.skip("seems not to work, too bad")
self.capture_fd = capture_fd
def __enter__(self):