diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-07-14 10:03:35 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-07-14 10:03:35 -0500 |
| commit | eef80b6e70f9fe2a1120a611ebc0889e6936eb16 (patch) | |
| tree | 1ae1bf05a035e9836ec9c794b4689a0e49be8ce4 /Lib/test/test_http_cookiejar.py | |
| parent | 5702ae6f3f3884339be54f92ce26503373543cae (diff) | |
| download | cpython-git-eef80b6e70f9fe2a1120a611ebc0889e6936eb16.tar.gz | |
this should be an identity test
Diffstat (limited to 'Lib/test/test_http_cookiejar.py')
| -rw-r--r-- | Lib/test/test_http_cookiejar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index 712a4ae639..41e0dfde33 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) |
