summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-11 21:18:03 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-11 21:18:03 +0000
commitacc5d9c3421000d234c19ed3129a04f3decc589a (patch)
treee6783ce905e9ee57af87dcba9a23b73dd9a93c32
parenteeda44059871c5d321a308c8d882ef62143a83e3 (diff)
downloadportage-acc5d9c3421000d234c19ed3129a04f3decc589a.tar.gz
portage-acc5d9c3421000d234c19ed3129a04f3decc589a.tar.bz2
portage-acc5d9c3421000d234c19ed3129a04f3decc589a.zip
print the incorrect atom
svn path=/main/trunk/; revision=5567
-rw-r--r--tests/portage_dep/test_isvalidatom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/portage_dep/test_isvalidatom.py b/tests/portage_dep/test_isvalidatom.py
index 84225fa78..397b46c2e 100644
--- a/tests/portage_dep/test_isvalidatom.py
+++ b/tests/portage_dep/test_isvalidatom.py
@@ -33,4 +33,5 @@ class IsValidAtom(TestCase):
else:
atom_type = "invalid"
- self.assertEqual( bool(isvalidatom( test[0] )), test[1] )
+ self.assertEqual( bool(isvalidatom( test[0] )), test[1],
+ msg="isvalidatom(%s) != %s" % ( test[0], test[1] ) )