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

[2.7] bpo-30108: Restore sys.path in test_site#1459

Merged
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
vstinner:test_site_27Copy head branch name to clipboard
May 4, 2017
Merged

[2.7] bpo-30108: Restore sys.path in test_site#1459
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
vstinner:test_site_27Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented May 4, 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 added cherry-pick for 2.7 tests Tests in the Lib/test dir labels May 4, 2017
@vstinner vstinner merged commit 7806438 into python:2.7 May 4, 2017
@vstinner vstinner deleted the test_site_27 branch May 4, 2017 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

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.