diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-14 15:03:53 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-14 15:03:53 (GMT) |
commit | c917494528b3e116d4d17df52daea74f112e2b68 (patch) | |
tree | 337a4fb74bc76883f33302f590761822e50b60ab /Lib | |
parent | bc18838972ed83f58bb192388df9e2d989378c54 (diff) | |
parent | eef80b6e70f9fe2a1120a611ebc0889e6936eb16 (diff) | |
download | cpython-c917494528b3e116d4d17df52daea74f112e2b68.zip cpython-c917494528b3e116d4d17df52daea74f112e2b68.tar.gz cpython-c917494528b3e116d4d17df52daea74f112e2b68.tar.bz2 |
merge 3.2
Diffstat (limited to 'Lib')
-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 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) |