Kaydet (Commit) f320c227 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

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

üst 9109f91c
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment