merge heads
This commit is contained in:
commit
af5e29a769
|
@ -503,7 +503,7 @@ def find_loader(fullname):
|
|||
except (ImportError, AttributeError, TypeError, ValueError) as ex:
|
||||
# This hack fixes an impedance mismatch between pkgutil and
|
||||
# importlib, where the latter raises other errors for cases where
|
||||
# pkgutil previously threw ImportError
|
||||
# pkgutil previously raised ImportError
|
||||
msg = "Error while finding loader for {!r} ({}: {})"
|
||||
raise ImportError(msg.format(fullname, type(ex), ex)) from ex
|
||||
|
||||
|
|
|
@ -1302,7 +1302,7 @@ class HandlerTests(unittest.TestCase):
|
|||
)
|
||||
|
||||
def test_basic_and_digest_auth_handlers(self):
|
||||
# HTTPDigestAuthHandler threw an exception if it couldn't handle a 40*
|
||||
# HTTPDigestAuthHandler raised an exception if it couldn't handle a 40*
|
||||
# response (http://python.org/sf/1479302), where it should instead
|
||||
# return None to allow another handler (especially
|
||||
# HTTPBasicAuthHandler) to handle the response.
|
||||
|
|
|
@ -277,7 +277,7 @@ class LocalWinregTests(BaseWinregTests):
|
|||
|
||||
def test_long_key(self):
|
||||
# Issue2810, in 2.6 and 3.1 when the key name was exactly 256
|
||||
# characters, EnumKey threw "WindowsError: More data is
|
||||
# characters, EnumKey raised "WindowsError: More data is
|
||||
# available"
|
||||
name = 'x'*256
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue