mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
This commit is contained in:
parent
8c3ecc6bac
commit
62dfd7d6fe
17 changed files with 134 additions and 15 deletions
|
@ -28,6 +28,7 @@ import unittest
|
|||
import uuid
|
||||
import warnings
|
||||
from test import support
|
||||
from platform import win32_is_iot
|
||||
|
||||
try:
|
||||
import resource
|
||||
|
@ -2439,7 +2440,7 @@ class DeviceEncodingTests(unittest.TestCase):
|
|||
# Return None when an fd doesn't actually exist.
|
||||
self.assertIsNone(os.device_encoding(123456))
|
||||
|
||||
@unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or
|
||||
@unittest.skipUnless(os.isatty(0) and not win32_is_iot() and (sys.platform.startswith('win') or
|
||||
(hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))),
|
||||
'test requires a tty and either Windows or nl_langinfo(CODESET)')
|
||||
def test_device_encoding(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue