summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_dist.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_dist.py b/Lib/distutils/tests/test_dist.py
index 81459ac..dd07735 100644
--- a/Lib/distutils/tests/test_dist.py
+++ b/Lib/distutils/tests/test_dist.py
@@ -213,9 +213,10 @@ 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)
+ self.assert_(user_filename in files,
+ '%r not found in %r' % (user_filename, files))
finally:
for key, value in old.items():
if value is None: