diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-11 19:43:03 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-11 19:43:03 +0000 |
commit | 230271398ae96229f7d5aff160d5d5ea6b5db3e1 (patch) | |
tree | 409dba9c896988124ae2acb978fe3bdcaa652035 /tests/portage_util/test_stackLists.py | |
parent | 9b788ebbb283ea1c98644ed57ac67e654cfc767a (diff) | |
download | portage-230271398ae96229f7d5aff160d5d5ea6b5db3e1.tar.gz portage-230271398ae96229f7d5aff160d5d5ea6b5db3e1.tar.bz2 portage-230271398ae96229f7d5aff160d5d5ea6b5db3e1.zip |
take some advice and use AssertEqual/NotEqual
svn path=/main/trunk/; revision=5560
Diffstat (limited to 'tests/portage_util/test_stackLists.py')
-rw-r--r-- | tests/portage_util/test_stackLists.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/portage_util/test_stackLists.py b/tests/portage_util/test_stackLists.py index c69139286..c4e1e0056 100644 --- a/tests/portage_util/test_stackLists.py +++ b/tests/portage_util/test_stackLists.py @@ -17,6 +17,4 @@ class StackListsTestCase(TestCase): for test in tests: result = stack_lists( test[0], test[2] ) - self.failIf( result != test[1], - msg="Got %s != %s from stack_lists( %s, %s )" \ - % ( result, test[1], test[0], test[2] ) ) + self.assertEqual( result , test[1] ) |