summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 (GMT)
commit6245cb3c015a5b9febef4d6ef30d3acfc762a79d (patch)
tree3e0a3907968edb89a7d24a051dab35c9a43f5dee /Lib/test/test_codecs.py
parent7d82d0366bb6c1b175cf54cf87778bba2451b0f4 (diff)
downloadcpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.zip
cpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.tar.gz
cpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.tar.bz2
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation, code comments, and a debugging messages.
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r--Lib/test/test_codecs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index b93e0ab..c98afea 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -2355,7 +2355,7 @@ class TypesTest(unittest.TestCase):
self.assertRaises(TypeError, decoder, "xxx")
def test_unicode_escape(self):
- # Escape-decoding an unicode string is supported ang gives the same
+ # Escape-decoding a unicode string is supported ang 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))