]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
trying to find some fpathconf() settings that all unixs support...
authorBenjamin Peterson <benjamin@python.org>
Sat, 17 Jan 2009 04:39:05 +0000 (04:39 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 17 Jan 2009 04:39:05 +0000 (04:39 +0000)
Lib/test/test_os.py

index 88e4f62618591bc36d3b2d6408b1d9655f0ef4a2..2c9d9bff693e9ece0549669d9c0f93ad9ac72b0b 100644 (file)
@@ -568,7 +568,7 @@ class TestInvalidFD(unittest.TestCase):
 
     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):