mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
trying to find some fpathconf() settings that all unixs support...
This commit is contained in:
parent
9109f91c6b
commit
f320c22701
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue