diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-19 15:15:02 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-19 15:15:02 (GMT) |
commit | 05e782fc3b5f38a68a760e1044eab0b5db1d279a (patch) | |
tree | 4a57638ee73fc817e78655d8db23ea90361da860 | |
parent | 806d4029ed3d6adca2effe5b3b2fd461b300aebb (diff) | |
download | cpython-05e782fc3b5f38a68a760e1044eab0b5db1d279a.zip cpython-05e782fc3b5f38a68a760e1044eab0b5db1d279a.tar.gz cpython-05e782fc3b5f38a68a760e1044eab0b5db1d279a.tar.bz2 |
reenable the invalid fd test for fdopen
-rw-r--r-- | Lib/test/test_os.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 7373334..f7471e5 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -588,7 +588,7 @@ class Win32ErrorTests(unittest.TestCase): self.assertRaises(WindowsError, os.utime, support.TESTFN, 0) class TestInvalidFD(unittest.TestCase): - singles = ["fchdir", "dup", "fdatasync", "fstat", + singles = ["fchdir", "dup", "fdopen", "fdatasync", "fstat", "fstatvfs", "fsync", "tcgetpgrp", "ttyname"] #singles.append("close") #We omit close because it doesn'r raise an exception on some platforms @@ -12,6 +12,8 @@ What's New in Python 3.1 alpha 0 Core and Builtins ----------------- +- Issue #4991: os.fdopen now raises an OSError for invalid file descriptors. + - Issue #4838: When a module is deallocated, free the memory backing the optional module state data. |