summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-17 04:39:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-01-17 04:39:05 (GMT)
commitf320c2270104a2c4cf3285cb2adcbdff7e811004 (patch)
tree3f70e4d7e203ea0d513987a7c33d7ba318dd2a66
parent9109f91c6b4175b394a9356ed15693574b49108f (diff)
downloadcpython-f320c2270104a2c4cf3285cb2adcbdff7e811004.zip
cpython-f320c2270104a2c4cf3285cb2adcbdff7e811004.tar.gz
cpython-f320c2270104a2c4cf3285cb2adcbdff7e811004.tar.bz2
trying to find some fpathconf() settings that all unixs support...
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 88e4f62..2c9d9bf 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):