[Python-checkins] r72359 - python/branches/py3k/Lib/test/test_os.py

mark.dickinson python-checkins at python.org
Tue May 5 23:34:59 CEST 2009


Author: mark.dickinson
Date: Tue May  5 23:34:59 2009
New Revision: 72359

Log:
Issue #5944: Skip PEP 383 tests on 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	Tue May  5 23:34:59 2009
@@ -700,6 +700,7 @@
                 self.assertRaises(OverflowError, os.setregid, 1<<32, 0)
                 self.assertRaises(OverflowError, os.setregid, 0, 1<<32)
 
+    @unittest.skipIf(sys.platform == 'darwin', "tests don't apply to OS X")
     class Pep383Tests(unittest.TestCase):
         filenames = [b'foo\xf6bar', 'foo\xf6bar'.encode("utf-8")]
 


More information about the Python-checkins mailing list