STINNER Victor added the comment: + with open(_fname + ".dir", 'w') as stream: + stream.write(content)
I don't see where the created file is deleted. Add something like: self.addCleanup(support.unlink, _fname + ".dir") ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22885> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com