diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-19 17:22:57 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-19 17:22:57 (GMT) |
commit | 114b724a4b54bf50e11620d44647d59762a30d01 (patch) | |
tree | 3d13c746b59d9d5262cf871332b48575c1fa0fe1 /Lib/test/test_os.py | |
parent | 515ca2047df4775b7471fd2a68a74eb88367ca2e (diff) | |
download | cpython-114b724a4b54bf50e11620d44647d59762a30d01.zip cpython-114b724a4b54bf50e11620d44647d59762a30d01.tar.gz cpython-114b724a4b54bf50e11620d44647d59762a30d01.tar.bz2 |
Skip test_encodings() of test_os on Windows and Mac OS X
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 710a3f4..4ab6593 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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) |