summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-05-11 20:08:33 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-05-11 20:08:33 (GMT)
commit5128fb971563e4a482b91b99f67ac89009bd4a0d (patch)
tree3a83d094fc5a4a037edd31c76a55eab8ab1042be /Lib/distutils/tests
parent73812bf2a6a7352020cb41d87c1f10f4ae7baaf9 (diff)
downloadcpython-5128fb971563e4a482b91b99f67ac89009bd4a0d.zip
cpython-5128fb971563e4a482b91b99f67ac89009bd4a0d.tar.gz
cpython-5128fb971563e4a482b91b99f67ac89009bd4a0d.tar.bz2
Try setting HOME env.var to fix test on Win32
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_dist.py b/Lib/distutils/tests/test_dist.py
index 05342af..8f1288e 100644
--- a/Lib/distutils/tests/test_dist.py
+++ b/Lib/distutils/tests/test_dist.py
@@ -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))