mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Merge typo fixes from 3.5
This commit is contained in:
commit
8b04a945ef
6 changed files with 9 additions and 9 deletions
|
@ -2401,7 +2401,7 @@ class TypesTest(unittest.TestCase):
|
|||
self.assertRaises(TypeError, decoder, "xxx")
|
||||
|
||||
def test_unicode_escape(self):
|
||||
# Escape-decoding a unicode string is supported ang gives the same
|
||||
# Escape-decoding a unicode string is supported and gives the same
|
||||
# result as decoding the equivalent ASCII bytes string.
|
||||
self.assertEqual(codecs.unicode_escape_decode(r"\u1234"), ("\u1234", 6))
|
||||
self.assertEqual(codecs.unicode_escape_decode(br"\u1234"), ("\u1234", 6))
|
||||
|
@ -2809,7 +2809,7 @@ class TransformCodecTest(unittest.TestCase):
|
|||
# type and a single str argument.
|
||||
|
||||
# Use a local codec registry to avoid appearing to leak objects when
|
||||
# registering multiple seach functions
|
||||
# registering multiple search functions
|
||||
_TEST_CODECS = {}
|
||||
|
||||
def _get_test_codec(codec_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue