Commit d7aff2d6 authored by Philip Jenvey's avatar Philip Jenvey

update skip reason

parent e308b7c0
...@@ -1435,7 +1435,7 @@ class DeviceEncodingTests(unittest.TestCase): ...@@ -1435,7 +1435,7 @@ class DeviceEncodingTests(unittest.TestCase):
@unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or @unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or
(hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))), (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): def test_device_encoding(self):
encoding = os.device_encoding(0) encoding = os.device_encoding(0)
self.assertIsNotNone(encoding) self.assertIsNotNone(encoding)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment