mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Try setting HOME env.var to fix test on Win32
This commit is contained in:
parent
73812bf2a6
commit
5128fb9715
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class MetadataTestCase(unittest.TestCase):
|
|||
# win32-style
|
||||
if sys.platform == 'win32':
|
||||
# home drive should be found
|
||||
os.environ['HOMEPATH'] = curdir
|
||||
os.environ['HOME'] = curdir
|
||||
files = dist.find_config_files()
|
||||
self.assert_(user_filename in files,
|
||||
'%r not found in %r' % (user_filename, files))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue