mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Changed distutils tests to avoid environment alteration
This commit is contained in:
parent
11abfe640f
commit
2b06d42db5
13 changed files with 67 additions and 34 deletions
|
@ -56,7 +56,7 @@ class PyPIRCCommandTestCase(support.TempdirManager,
|
|||
"""Patches the environment."""
|
||||
super(PyPIRCCommandTestCase, self).setUp()
|
||||
self.tmp_dir = self.mkdtemp()
|
||||
self.environ['HOME'] = self.tmp_dir
|
||||
os.environ['HOME'] = self.tmp_dir
|
||||
self.rc = os.path.join(self.tmp_dir, '.pypirc')
|
||||
self.dist = Distribution()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue