From ca3ccd15ffa92423dac6cdda82507eb45347c1d4 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sun, 11 May 2008 19:15:52 +0000 Subject: [PATCH] Add message to test assertion --- Lib/distutils/tests/test_dist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/distutils/tests/test_dist.py b/Lib/distutils/tests/test_dist.py index 804c8a4686c..05342af829c 100644 --- a/Lib/distutils/tests/test_dist.py +++ b/Lib/distutils/tests/test_dist.py @@ -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: