Merged revisions 78136 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line
#7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
........
diff --git a/Misc/NEWS b/Misc/NEWS
index 38fd86c..64c17ff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -740,6 +740,11 @@
Tests
-----
+- Issue #7712: test.support gained a new `temp_cwd` context manager which is
+ now also used by regrtest to run all the tests in a temporary directory.
+ The original CWD is saved in `support.SAVEDCWD`.
+ Thanks to Florent Xicluna who helped with the patch.
+
- Issue #7924: Fix an intermittent 'XXX undetected error' failure in
test_capi (only seen so far on platforms where the curses module
wasn't built), due to an uncleared exception.