Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-30108: Restore sys.path in test_site (#1197)#1379

Merged
vstinner merged 1 commit into
python:3.5python/cpython:3.5from
vstinner:test_site_35Copy head branch name to clipboard
May 2, 2017
Merged

bpo-30108: Restore sys.path in test_site (#1197)#1379
vstinner merged 1 commit into
python:3.5python/cpython:3.5from
vstinner:test_site_35Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented May 2, 2017

Copy link
Copy Markdown
Member

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 b85c136)

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 b85c136)
@vstinner vstinner merged commit 092f460 into python:3.5 May 2, 2017
@vstinner vstinner deleted the test_site_35 branch May 2, 2017 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.