summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-03-29 15:24:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-03-29 15:24:25 (GMT)
commit5b63acd31e0e40c1a9a9e9762905b0054ff37994 (patch)
tree763a6e10d4c0fa64797f5311491a3cbeb0f7e5d9 /Lib/test/test_ssl.py
parent672fbf519568bc295aa64992dcbabe0eebccb5fc (diff)
downloadcpython-5b63acd31e0e40c1a9a9e9762905b0054ff37994.zip
cpython-5b63acd31e0e40c1a9a9e9762905b0054ff37994.tar.gz
cpython-5b63acd31e0e40c1a9a9e9762905b0054ff37994.tar.bz2
#2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index f5ae026..856434f 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -546,7 +546,7 @@ else:
expectedToWork,
certsreqs=None):
- if certsreqs == None:
+ if certsreqs is None:
certsreqs = ssl.CERT_NONE
if certsreqs == ssl.CERT_NONE: