]> granicus.if.org Git - python/commitdiff
update skip reason
authorPhilip Jenvey <pjenvey@underboss.org>
Thu, 1 Mar 2012 00:21:25 +0000 (16:21 -0800)
committerPhilip Jenvey <pjenvey@underboss.org>
Thu, 1 Mar 2012 00:21:25 +0000 (16:21 -0800)
Lib/test/test_os.py

index e0c59fd3f3ca5f276cef14d8a3070ed59f5bc581..d2595153d851ec492faaec8ed93d6552cb0846bb 100644 (file)
@@ -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)