summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-04 16:21:52 (GMT)
committerGitHub <noreply@github.com>2017-05-04 16:21:52 (GMT)
commit78064387e5815633168a80dcdc1bd9aec4eff46a (patch)
treee605c48c5b25c1d4b16e339f368f9f2e051716d8 /Python/errors.c
parent9fb061ba9ca6021055ca5a9bac193aeb1211aba0 (diff)
downloadcpython-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