From: Benjamin Peterson Date: Thu, 14 Jul 2011 15:03:35 +0000 (-0500) Subject: this should be an identity test X-Git-Tag: v3.2.2rc1~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eef80b6e70f9fe2a1120a611ebc0889e6936eb16;p=thirdparty%2FPython%2Fcpython.git this should be an identity test --- diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index 712a4ae63980..41e0dfde3306 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)