summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-10-09 15:16:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-10-09 15:16:13 (GMT)
commit29e02a2be8d5e3e0e9967c5806b15965201bb7aa (patch)
treec44ab2fe883c85cb8a87222ef465e5c253c723e1 /Lib/test/test_posix.py
parent2bc53a092a78b6e49c1e3f497eb7512810e83c0c (diff)
parentb29614e047110f4d9af993a6cdec4e3fb7ef9738 (diff)
downloadcpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.zip
cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.gz
cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.bz2
merge 3.3
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 4e7a37c..f59607b 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -651,7 +651,7 @@ class PosixTester(unittest.TestCase):
groups = idg.read().strip()
ret = idg.close()
- if ret != None or not groups:
+ if ret is not None or not groups:
raise unittest.SkipTest("need working 'id -G'")
self.assertEqual(
@@ -665,7 +665,7 @@ class PosixTester(unittest.TestCase):
groups = idg.read().strip()
ret = idg.close()
- if ret != None or not groups:
+ if ret is not None or not groups:
raise unittest.SkipTest("need working 'id -G'")
# 'id -G' and 'os.getgroups()' should return the same