summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-11-05 01:26:57 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-11-05 01:26:57 (GMT)
commitcfed029c42ba1f1129de0ff3e455fcaf1c7ef9c6 (patch)
tree1f73f59b1b2b46fc31074f917bfd12f81dd93c6d /Misc/NEWS
parent0ae45116245d4b508672d87eb1249cbf0079f167 (diff)
downloadcpython-cfed029c42ba1f1129de0ff3e455fcaf1c7ef9c6.zip
cpython-cfed029c42ba1f1129de0ff3e455fcaf1c7ef9c6.tar.gz
cpython-cfed029c42ba1f1129de0ff3e455fcaf1c7ef9c6.tar.bz2
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
source files for tests. Allows for concurrent execution of the tests by preventing various executions from trampling each other. Closes issue #7248.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f114efb..1e2a79f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -354,6 +354,10 @@ Documentation
Tests
-----
+- Issue #7248 (part 2): Use a unique temporary directory for importlib source
+ tests instead of tempfile.tempdir. This prevents the tests from sharing state
+ between concurrent executions on the same system.
+
- Issue #7248: In importlib.test.source.util a try/finally block did not make
sure that some referenced objects actually were created in the block before
calling methods on the object.