Add message to test assertion

This commit is contained in:
Andrew M. Kuchling 2008-05-11 19:15:52 +00:00
parent e85ae1bbaf
commit ca3ccd15ff
1 changed files with 2 additions and 1 deletions

View File

@ -215,7 +215,8 @@ class MetadataTestCase(unittest.TestCase):
# home drive should be found
os.environ['HOMEPATH'] = 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: