diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-21 13:53:07 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-21 13:53:07 (GMT) |
commit | 050a61f838dcbf4b6fad6eb83404a7eb1ffb9b9b (patch) | |
tree | 10809550311a87652ce03d66bfbe71758ad77a77 /Lib/test/support.py | |
parent | 8b15ee0d6e72ec91cbd2ec178bf2ae77cbd33b59 (diff) | |
parent | e418d760897cc6f6f4dedb364f80f3f52525ffa6 (diff) | |
download | cpython-050a61f838dcbf4b6fad6eb83404a7eb1ffb9b9b.zip cpython-050a61f838dcbf4b6fad6eb83404a7eb1ffb9b9b.tar.gz cpython-050a61f838dcbf4b6fad6eb83404a7eb1ffb9b9b.tar.bz2 |
#15304: merge with 3.2.
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 35ae76f..014bcf5 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -680,7 +680,7 @@ def temp_cwd(name='tempcwd', quiet=False, path=None): except OSError: if not quiet: raise - warnings.warn('tests may fail, unable to change the CWD to ' + name, + warnings.warn('tests may fail, unable to change the CWD to ' + path, RuntimeWarning, stacklevel=3) try: yield os.getcwd() |