This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, berker.peksag, dstufft, eric.araujo, ezio.melotti, martin.panter, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2018-12-05.17:12:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544029942.21.0.788709270274.issue22831@psf.upfronthosting.co.za>
In-reply-to
Content
self.addCleanup(f.close) can not be used if the same file should be opened several times in the test. It can not be used also if the file is deleted in the test or in tearDown().
History
Date User Action Args
2018-12-05 17:12:22serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, ezio.melotti, eric.araujo, Arfrever, python-dev, berker.peksag, martin.panter, dstufft
2018-12-05 17:12:22serhiy.storchakasetmessageid: <1544029942.21.0.788709270274.issue22831@psf.upfronthosting.co.za>
2018-12-05 17:12:22serhiy.storchakalinkissue22831 messages
2018-12-05 17:12:22serhiy.storchakacreate