From d7aff2d696bd4b0e074cb57544443e6706da9a52 Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Wed, 29 Feb 2012 16:21:25 -0800 Subject: [PATCH] update skip reason --- Lib/test/test_os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index e0c59fd3f3c..d2595153d85 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)