[Python-checkins] cpython (merge 3.2 -> default): merge 3.2

benjamin.peterson python-checkins at python.org
Thu Jul 14 16:59:10 CEST 2011


http://hg.python.org/cpython/rev/cecbd77544f9
changeset:   71330:cecbd77544f9
parent:      71328:a609b2a44f92
parent:      71329:3e3958828160
user:        Benjamin Peterson <benjamin at python.org>
date:        Thu Jul 14 10:03:53 2011 -0500
summary:
  merge 3.2

files:
  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
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -257,7 +257,7 @@
                                 "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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list