summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-16 09:29:17 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-16 09:29:17 (GMT)
commit8b04a945eff25ee66746d717b060c1b7844808c9 (patch)
tree6a15965fd3f852d9822a98bd04ef01feda33ccb8 /Lib/test/test_codecs.py
parentd3aeb9b797a6a122c27be5649cbc25e26857109b (diff)
parent119e502277d104286620806ef130e3c0d4f439f0 (diff)
downloadcpython-8b04a945eff25ee66746d717b060c1b7844808c9.zip
cpython-8b04a945eff25ee66746d717b060c1b7844808c9.tar.gz
cpython-8b04a945eff25ee66746d717b060c1b7844808c9.tar.bz2
Merge typo fixes from 3.5
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r--Lib/test/test_codecs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index df8f961..45a1987 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -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):