From eef80b6e70f9fe2a1120a611ebc0889e6936eb16 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 14 Jul 2011 10:03:35 -0500 Subject: this should be an identity test --- Lib/test/test_http_cookiejar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12