summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
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/unittest
parent2bc53a092a78b6e49c1e3f497eb7512810e83c0c (diff)
parentb29614e047110f4d9af993a6cdec4e3fb7ef9738 (diff)
downloadcpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.zip
cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.gz
cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.bz2
merge 3.3
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index 28f0a2d..f334865 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -736,7 +736,7 @@ class TestCase(object):
msg: Optional message to use on failure instead of a list of
differences.
"""
- if seq_type != None:
+ if seq_type is not None:
seq_type_name = seq_type.__name__
if not isinstance(seq1, seq_type):
raise self.failureException('First sequence is not a %s: %s'