public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/util/
Date: Fri,  2 Dec 2011 02:07:33 +0000 (UTC)	[thread overview]
Message-ID: <1776d5db74e7065b409b7e2d521323e8d7ea2bb5.zmedico@gentoo> (raw)

commit:     1776d5db74e7065b409b7e2d521323e8d7ea2bb5
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 02:07:21 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 02:07:21 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1776d5db

test_uniqueArray.py: fix 'is' usage PyPy incompat

---
 pym/portage/tests/util/test_uniqueArray.py |    6 +++---
 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 2a1a209..e23428c 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) )



             reply	other threads:[~2011-12-02  2:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02  2:07 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-13 21:46 [gentoo-commits] proj/portage:master commit in: pym/portage/tests/util/ Michał Górny
2014-02-02  4:11 Arfrever Frehtes Taifersar Arahesis
2014-01-26  4:06 Arfrever Frehtes Taifersar Arahesis
2013-05-18 23:53 Zac Medico
2012-05-12 21:11 Zac Medico
2012-05-12 19:30 Zac Medico
2012-05-12 19:27 Zac Medico
2012-04-03 16:06 Zac Medico
2011-10-05  3:22 Zac Medico
2011-07-01  8:50 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1776d5db74e7065b409b7e2d521323e8d7ea2bb5.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox