diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index b2b5390af33b00..dd435fddcd55de 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -510,7 +510,7 @@ def test_noinherit(self): "child process caught fatal signal %d" % -retval) self.assertFalse(retval > 0, "child process reports failure %d"%retval) - @unittest.skipUnless(has_textmode, "text mode not available") + @unittest.skipUnless(sys.platform != "cygwin" and has_textmode, "text mode not available") def test_textmode(self): # _mkstemp_inner can create files in text mode