[Python-checkins] r84206 - python/branches/py3k/Lib/test/test_os.py
victor.stinner
python-checkins at python.org
Thu Aug 19 19:22:57 CEST 2010
Author: victor.stinner
Date: Thu Aug 19 19:22:57 2010
New Revision: 84206
Log:
Skip test_encodings() of test_os on Windows and Mac OS X
Modified:
python/branches/py3k/Lib/test/test_os.py
Modified: python/branches/py3k/Lib/test/test_os.py
==============================================================================
--- python/branches/py3k/Lib/test/test_os.py (original)
+++ python/branches/py3k/Lib/test/test_os.py Thu Aug 19 19:22:57 2010
@@ -1164,6 +1164,8 @@
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)
More information about the Python-checkins
mailing list