summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_ext.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-02 09:45:42 (GMT)
committerGitHub <noreply@github.com>2017-05-02 09:45:42 (GMT)
commit33a5d40de997fff5b60157c546a3bf711e083bcc (patch)
tree89ec522bce3688c3428fe8a67b5daf85a4406733 /Lib/distutils/tests/test_build_ext.py
parent809101f14f27ddb394cd77c477470761ecf99f41 (diff)
downloadcpython-33a5d40de997fff5b60157c546a3bf711e083bcc.zip
cpython-33a5d40de997fff5b60157c546a3bf711e083bcc.tar.gz
cpython-33a5d40de997fff5b60157c546a3bf711e083bcc.tar.bz2
bpo-30108: Restore sys.path in test_site (#1197) (#1378)
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 'Lib/distutils/tests/test_build_ext.py')
0 files changed, 0 insertions, 0 deletions