mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Skip test_encodings() of test_os on Windows and Mac OS X
This commit is contained in:
parent
515ca2047d
commit
114b724a4b
1 changed files with 2 additions and 0 deletions
|
|
@ -1164,6 +1164,8 @@ class FSEncodingTests(unittest.TestCase):
|
|||
self.assertEqual(process.returncode, 0)
|
||||
return stdout.decode('utf-8')
|
||||
|
||||
@unittest.skipIf(sys.platform in ('win32', 'darwin'),
|
||||
'PYTHONFSENCODING is ignored on Windows and Mac OS X')
|
||||
def test_encodings(self):
|
||||
def check(encoding, bytesfn, unicodefn):
|
||||
encoded = self.get_output(encoding, 'repr(os.fsencode(%a))' % unicodefn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue