Commit eef80b6e authored by Benjamin Peterson's avatar Benjamin Peterson

this should be an identity test

parent 5702ae6f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment