From: Benjamin Peterson Date: Sat, 17 Jan 2009 04:39:05 +0000 (+0000) Subject: trying to find some fpathconf() settings that all unixs support... X-Git-Tag: v2.7a1~2276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f320c2270104a2c4cf3285cb2adcbdff7e811004;p=thirdparty%2FPython%2Fcpython.git trying to find some fpathconf() settings that all unixs support... --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 88e4f6261859..2c9d9bff693e 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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):