diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-11-05 01:26:57 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-11-05 01:26:57 (GMT) |
commit | cfed029c42ba1f1129de0ff3e455fcaf1c7ef9c6 (patch) | |
tree | 1f73f59b1b2b46fc31074f917bfd12f81dd93c6d /Misc/NEWS | |
parent | 0ae45116245d4b508672d87eb1249cbf0079f167 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |