]> granicus.if.org Git - python/commitdiff
Try setting HOME env.var to fix test on Win32
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 11 May 2008 20:08:33 +0000 (20:08 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 11 May 2008 20:08:33 +0000 (20:08 +0000)
Lib/distutils/tests/test_dist.py

index 05342af829ce9d76670a5a6b54e7f9de88b9cb20..8f1288e9f61814e4564957ba8a10165b98e1d52c 100644 (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))