]> granicus.if.org Git - python/commit
support: temp_dir() and change_cwd() uses repr() in error message
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Feb 2017 14:49:10 +0000 (15:49 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Feb 2017 14:49:10 +0000 (15:49 +0100)
commit3722f1f483065338e83ec1e28cd8dc8412ef39d7
tree122c93adcad8ade6fda2c96c9511e5e94b3abb45
parent620580f280e3fe6583afee43580ef907b228add3
support: temp_dir() and change_cwd() uses repr() in error message

Serhiy Storshaka pointed me that str(path) can emit a BytesWarning: use
repr(path) instead.
Lib/test/support/__init__.py
Lib/test/test_support.py