Try setting HOME env.var to fix test on Win32

This commit is contained in:
Andrew M. Kuchling 2008-05-11 20:08:33 +00:00
parent 73812bf2a6
commit 5128fb9715
1 changed files with 1 additions and 1 deletions

View File

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