[Jython-checkins] jython: Add skip to test_io for Posix signals on NT

jeff.allen jython-checkins at python.org
Sun Dec 9 21:29:36 CET 2012


http://hg.python.org/jython/rev/061ca4e0f423
changeset:   6891:061ca4e0f423
user:        Jeff Allen <ja...py at farowl.co.uk>
date:        Wed Dec 05 20:09:04 2012 +0000
summary:
  Add skip to test_io for Posix signals on NT
These tests should still run on Unix, but that needs to be verified.
test_io scores:  fail/error/skip = 6/58/99.

files:
  Lib/test/test_io.py |  4 +++-
  1 files changed, 3 insertions(+), 1 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
@@ -2723,7 +2723,9 @@
     io = pyio
 
 
- at unittest.skipIf(os.name == 'nt', 'POSIX signals required for this test.')
+ at unittest.skipIf(os.name == 'nt' or 
+                 (sys.platform[:4] == 'java' and 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