From: Victor Stinner Date: Thu, 19 Aug 2010 17:22:57 +0000 (+0000) Subject: Skip test_encodings() of test_os on Windows and Mac OS X X-Git-Tag: v3.2a2~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=114b724a4b54bf50e11620d44647d59762a30d01;p=thirdparty%2FPython%2Fcpython.git Skip test_encodings() of test_os on Windows and Mac OS X --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 710a3f4e8edd..4ab6593812b5 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)