summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-11-05 01:34:30 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-11-05 01:34:30 (GMT)
commit142d236442a52f458f6fece1c29e2cd8678cfd23 (patch)
treeea2fbd4472971f9b0f92f1c0f87cbdc35b2aad86 /Misc
parent2bb246ac12599598b32d1956587c3618b6ec2848 (diff)
downloadcpython-142d236442a52f458f6fece1c29e2cd8678cfd23.zip
cpython-142d236442a52f458f6fece1c29e2cd8678cfd23.tar.gz
cpython-142d236442a52f458f6fece1c29e2cd8678cfd23.tar.bz2
Merged revisions 76113-76114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76113 | brett.cannon | 2009-11-04 17:17:22 -0800 (Wed, 04 Nov 2009) | 3 lines importlib.test.source.util referenced variables in the 'finally' part of a try/finally which may not have been set. ........ r76114 | brett.cannon | 2009-11-04 17:26:57 -0800 (Wed, 04 Nov 2009) | 6 lines 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')
-rw-r--r--Misc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d7de60f..c67407f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -134,6 +134,14 @@ Extension Modules
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.
+
- Issue #7055: test___all__ now greedily detects all modules which have an
__all__ attribute, rather than using a hardcoded and incomplete list.