[New-bugs-announce] [issue34239] Convert test_bz2 to use tempfile

Tim Golden report at bugs.python.org
Thu Jul 26 13:28:08 EDT 2018


New submission from Tim Golden <mail at timgolden.me.uk>:

test_bz2 currently uses the test.support.TESTFN functionality which creates a temporary file local to the test directory named around the pid. 

This can give rise to race conditions where tests are competing with each other to delete and recreate the file.

----------
assignee: tim.golden
messages: 322441
nosy: tim.golden
priority: normal
severity: normal
status: open
title: Convert test_bz2 to use tempfile
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34239>
_______________________________________


More information about the New-bugs-announce mailing list