mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Enhanced Issue 7058 patch, which will not be backported. Refactors the
code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new section in the summary for tests that modify the environment (thanks to Ezio Melotti for that suggestion).
This commit is contained in:
parent
5c92d4301d
commit
14dcd43d0b
2 changed files with 131 additions and 39 deletions
|
@ -1460,8 +1460,9 @@ Tests
|
|||
- Issue #7055: test___all__ now greedily detects all modules which have an
|
||||
__all__ attribute, rather than using a hardcoded and incomplete list.
|
||||
|
||||
- Issue #7058: Added save/restore for argv and os.environ to runtest_inner
|
||||
in regrtest, with warnings if the called test modifies them.
|
||||
- Issue #7058: Added save/restore for things like sys.argv and cwd to
|
||||
runtest_inner in regrtest, with warnings if the called test modifies them,
|
||||
and a new section in the summary report at the end.
|
||||
|
||||
- Issue #7042: Fix test_signal (test_itimer_virtual) failure on OS X 10.6.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue