mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
update skip reason
This commit is contained in:
parent
e308b7c0c0
commit
d7aff2d696
1 changed files with 1 additions and 1 deletions
|
|
@ -1435,7 +1435,7 @@ def test_bad_fd(self):
|
|||
|
||||
@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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue