[Python-checkins] r68649 - python/trunk/Lib/test/test_os.py

benjamin.peterson python-checkins at python.org
Sat Jan 17 05:39:06 CET 2009


Author: benjamin.peterson
Date: Sat Jan 17 05:39:05 2009
New Revision: 68649

Log:
trying to find some fpathconf() settings that all unixs support...

Modified:
   python/trunk/Lib/test/test_os.py

Modified: python/trunk/Lib/test/test_os.py
==============================================================================
--- python/trunk/Lib/test/test_os.py	(original)
+++ python/trunk/Lib/test/test_os.py	Sat Jan 17 05:39:05 2009
@@ -568,7 +568,7 @@
 
     def test_fpathconf(self):
         if hasattr(os, "fpathconf"):
-            self.assertRaises(OSError, os.fpathconf, 10, "PC_FILESIZEBITS")
+            self.assertRaises(OSError, os.fpathconf, 10, "PC_NAME_MAX")
 
     #this is a weird one, it raises IOError unlike the others
     def test_ftruncate(self):


More information about the Python-checkins mailing list