From: Philip Jenvey Date: Thu, 1 Mar 2012 00:21:25 +0000 (-0800) Subject: update skip reason X-Git-Tag: v3.3.0a1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7aff2d696bd4b0e074cb57544443e6706da9a52;p=python update skip reason --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index e0c59fd3f3..d2595153d8 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1435,7 +1435,7 @@ class DeviceEncodingTests(unittest.TestCase): @unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or (hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))), - 'test requires either Windows or nl_langinfo(CODESET)') + 'test requires a tty and either Windows or nl_langinfo(CODESET)') def test_device_encoding(self): encoding = os.device_encoding(0) self.assertIsNotNone(encoding)