Try setting HOME env.var to fix test on Win32
This commit is contained in:
parent
73812bf2a6
commit
5128fb9715
|
@ -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…
Reference in New Issue