[Jython-checkins] jython: Skip tests in test_io requiring os.pipe()
jeff.allen
jython-checkins at python.org
Mon Feb 18 09:01:05 CET 2013
http://hg.python.org/jython/rev/cc537214c5ec
changeset: 7059:cc537214c5ec
user: Jeff Allen <ja...py at farowl.co.uk>
date: Wed Feb 13 21:01:48 2013 +0000
summary:
Skip tests in test_io requiring os.pipe()
files:
Lib/test/test_io.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -2758,9 +2758,8 @@
pass
- at unittest.skipIf(os.name == 'nt' or
- (sys.platform[:4] == 'java' and os._name == 'nt'),
- 'POSIX signals required for this test.')
+ at unittest.skipIf(support.is_jython, "Jython does not support os.pipe()")
+ at unittest.skipIf(os.name == 'nt', 'POSIX signals required for this test.')
class SignalsTest(unittest.TestCase):
def setUp(self):
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list