mirror of https://github.com/python/cpython
Add message to test assertion
This commit is contained in:
parent
e85ae1bbaf
commit
ca3ccd15ff
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue