summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parentadd some invalid ops to getcpv to make sure it returns the cpv still (diff)
downloadportage-multirepo-acc5d9c3421000d234c19ed3129a04f3decc589a.tar.gz
portage-multirepo-acc5d9c3421000d234c19ed3129a04f3decc589a.tar.bz2
portage-multirepo-acc5d9c3421000d234c19ed3129a04f3decc589a.zip
print the incorrect atom
svn path=/main/trunk/; revision=5567
Diffstat (limited to 'tests')
-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 84225fa7..397b46c2 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] ) )