]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backported two fixes from the Py2.1 tree (pre-unittest rewrite):
authorBarry Warsaw <barry@python.org>
Mon, 4 Jun 2001 19:35:04 +0000 (19:35 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 4 Jun 2001 19:35:04 +0000 (19:35 +0000)
commit5cf87aaf48b194aa8bcf1fc7bd01c37c4d496eab
treee3684bfb79ccc3008322fd74531bb8fd2776941c
parentcbe99a1f1d60217d299da9493f0fa266620f79ab
Backported two fixes from the Py2.1 tree (pre-unittest rewrite):

----------------------------
revision 1.3
date: 2001/04/10 15:01:20;  author: gvanrossum;  state: Exp;  lines: +6 -0
Some other tests, when failing, don't always remove their TESTFN file.
Try to do it for them, so our mkdir() operation doesn't fail.
----------------------------
revision 1.2
date: 2001/03/02 05:46:17;  author: gvanrossum;  state: Exp;  lines: +3 -3
When catching errors from os.rmdir(), test for os.error, not IOError!
----------------------------

except I used OSError instead of os.error.
Lib/test/test_mailbox.py