diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-04-20 13:39:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 13:39:39 +0200 |
commit | b85c136903c6d2368162f7c4a58f258c9c69ead0 (patch) | |
tree | 0d4fd0b8b00d9f2dc4e240f01238c8dacccb0bff /Lib/test/test_struct.py | |
parent | b4dc6af7a7862a8996cffed30d39d6add5ee58a3 (diff) | |
download | cpython-git-b85c136903c6d2368162f7c4a58f258c9c69ead0.tar.gz |
bpo-30108: Restore sys.path in test_site (#1197)
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.
Diffstat (limited to 'Lib/test/test_struct.py')
0 files changed, 0 insertions, 0 deletions