print the incorrect atom
authorAlec Warner <antarus@gentoo.org>
Thu, 11 Jan 2007 21:18:03 +0000 (21:18 -0000)
committerAlec Warner <antarus@gentoo.org>
Thu, 11 Jan 2007 21:18:03 +0000 (21:18 -0000)
svn path=/main/trunk/; revision=5567

tests/portage_dep/test_isvalidatom.py

index 84225fa78357a32d576fa028737466bd3f424ef3..397b46c2efd5896c33ae07d3d6476bc6836c34a9 100644 (file)
@@ -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] ) )