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

This commit is contained in:
Benjamin Peterson 2009-01-17 04:39:05 +00:00
parent 9109f91c6b
commit f320c22701

View 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):