diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-04 16:21:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 16:21:52 (GMT) |
commit | 78064387e5815633168a80dcdc1bd9aec4eff46a (patch) | |
tree | e605c48c5b25c1d4b16e339f368f9f2e051716d8 /Python/errors.c | |
parent | 9fb061ba9ca6021055ca5a9bac193aeb1211aba0 (diff) | |
download | cpython-78064387e5815633168a80dcdc1bd9aec4eff46a.zip cpython-78064387e5815633168a80dcdc1bd9aec4eff46a.tar.gz cpython-78064387e5815633168a80dcdc1bd9aec4eff46a.tar.bz2 |
bpo-30108: Restore sys.path in test_site (#1197) (#1459)
Add setUpModule() and tearDownModule() functions to test_site to
save/restore sys.path at the module level to prevent warning if the
user site directory is created, since site.addsitedir() modifies
sys.path.
(cherry picked from commit b85c136903c6d2368162f7c4a58f258c9c69ead0)
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions