[New-bugs-announce] [issue14158] test_mailbox fails if file or dir named by support.TESTFN exists

Vinay Sajip report at bugs.python.org
Wed Feb 29 14:56:22 CET 2012


New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

test_mailbox fails if another failed test leaves a file or directory with the name given by support.TESTFN. The attached patch rectifies this, and also uses existing stdlib functionality (shutil.rmtree) to remove a directory tree recursively on tearDown.

----------
components: Library (Lib)
files: test_mailbox.diff
keywords: patch
messages: 154630
nosy: petri.lehtinen, r.david.murray, vinay.sajip
priority: normal
severity: normal
status: open
title: test_mailbox fails if file or dir named by support.TESTFN exists
versions: Python 3.3
Added file: http://bugs.python.org/file24679/test_mailbox.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14158>
_______________________________________


More information about the New-bugs-announce mailing list