summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-14 15:03:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-14 15:03:35 (GMT)
commiteef80b6e70f9fe2a1120a611ebc0889e6936eb16 (patch)
tree1ae1bf05a035e9836ec9c794b4689a0e49be8ce4 /Lib
parent5702ae6f3f3884339be54f92ce26503373543cae (diff)
downloadcpython-eef80b6e70f9fe2a1120a611ebc0889e6936eb16.zip
cpython-eef80b6e70f9fe2a1120a611ebc0889e6936eb16.tar.gz
cpython-eef80b6e70f9fe2a1120a611ebc0889e6936eb16.tar.bz2
this should be an identity test
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_http_cookiejar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py
index 712a4ae..41e0dfd 100644
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -257,7 +257,7 @@ class FileCookieJarTests(unittest.TestCase):
"filename should not exist")
except IOError as exc:
# exactly IOError, not LoadError
- self.assertEqual(exc.__class__, IOError)
+ self.assertIs(exc.__class__, IOError)
else:
self.fail("expected IOError for invalid filename")
# Invalid contents of cookies file (eg. bad magic string)