]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix two test cases in test_os. ftruncate raises IOError unlike all the others which...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 15 Jan 2009 22:40:03 +0000 (22:40 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 15 Jan 2009 22:40:03 +0000 (22:40 +0000)
commit71ba215d6bcb1cc5394bcc711e93845cc979c9d5
treee527ddb14e25f2fdd493bca7a720c4ca073c409b
parent51a035e383978ee0a529a35a7ecbde41c45ab99d
Fix two test cases in test_os.  ftruncate raises IOError unlike all the others which raise OSError.  And close() on some platforms doesn't complain when given an invalid file descriptor.
Lib/test/test_os.py