summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/util/test_uniqueArray.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/tests/util/test_uniqueArray.py b/pym/portage/tests/util/test_uniqueArray.py
index 2a1a20929..e23428c31 100644
--- a/pym/portage/tests/util/test_uniqueArray.py
+++ b/pym/portage/tests/util/test_uniqueArray.py
@@ -1,5 +1,5 @@
# test_uniqueArray.py -- Portage Unit Testing Functionality
-# Copyright 2006 Gentoo Foundation
+# Copyright 2006-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from portage import os
@@ -20,5 +20,5 @@ class UniqueArrayTestCase(TestCase):
result = unique_array( test[0] )
for item in test[1]:
number = result.count(item)
- self.assertFalse( number is not 1, msg="%s contains %s of %s, \
- should be only 1" % (result, number, item) )
+ self.assertFalse( number != 1, msg=("%s contains %s of %s, "
+ "should be only 1") % (result, number, item) )