]> granicus.if.org Git - python/commitdiff
Add message to test assertion
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 11 May 2008 19:15:52 +0000 (19:15 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 11 May 2008 19:15:52 +0000 (19:15 +0000)
Lib/distutils/tests/test_dist.py

index 804c8a4686c3c4de856e6a2ce0562d8f46abb5ad..05342af829ce9d76670a5a6b54e7f9de88b9cb20 100644 (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: