cpython: bed806c9eb4c (original) (raw)

Mercurial > cpython

changeset 95255:bed806c9eb4c

Issue #22390: test.regrtest now emits a warning if temporary files or directories are left after running a test. [#22390]

Serhiy Storchaka storchaka@gmail.com
date Mon, 30 Mar 2015 01:30:22 +0300
parents 4d5826fa77a1(current diff)05e6bab4db8f(diff)
children e93eeadef0c3
files Lib/test/regrtest.py Misc/NEWS
diffstat 2 files changed, 14 insertions(+), 15 deletions(-)[+] [-] Lib/test/regrtest.py 26 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1031,7 +1031,7 @@ class saved_test_environment: # to a thread, so check processes first. 'multiprocessing.process._dangling', 'threading._dangling', 'sysconfig._CONFIG_VARS', 'sysconfig._INSTALL_SCHEMES',

def get_sys_argv(self): @@ -1187,20 +1187,16 @@ class saved_test_environment: sysconfig._INSTALL_SCHEMES.clear() sysconfig._INSTALL_SCHEMES.update(saved[2])

lc = [getattr(locale, lc) for lc in dir(locale) if lc.startswith('LC')]

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -176,6 +176,9 @@ Build Tests ----- +- Issue #22390: test.regrtest now emits a warning if temporary files or