Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5702ae6 commit eef80b6Copy full SHA for eef80b6
1 file changed
Lib/test/test_http_cookiejar.py
@@ -257,7 +257,7 @@ def test_bad_magic(self):
257
"filename should not exist")
258
except IOError as exc:
259
# exactly IOError, not LoadError
260
- self.assertEqual(exc.__class__, IOError)
+ self.assertIs(exc.__class__, IOError)
261
else:
262
self.fail("expected IOError for invalid filename")
263
# Invalid contents of cookies file (eg. bad magic string)
0 commit comments