summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r--Lib/test/test_email/test_headerregistry.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_email/test_headerregistry.py b/Lib/test/test_email/test_headerregistry.py
index f754a32..f829f83 100644
--- a/Lib/test/test_email/test_headerregistry.py
+++ b/Lib/test/test_email/test_headerregistry.py
@@ -531,7 +531,7 @@ class TestContentTypeHeader(TestHeaderBase):
'\tname*1*=%2A%2A%2Afun%2A%2A%2A%20;\tname*2="is it not.pdf"\n'),
),
- # Make sure we also handle it if there are spurrious double qoutes.
+ # Make sure we also handle it if there are spurious double quotes.
'rfc2231_encoded_with_double_quotes': (
("text/plain;"
'\tname*0*="us-ascii\'\'This%20is%20even%20more%20";'
@@ -711,8 +711,8 @@ class TestContentTypeHeader(TestHeaderBase):
# in double quotes, making the value a valid non-encoded string. The
# old parser decodes this just like the previous case, which may be the
# better Postel rule, but could equally result in borking headers that
- # intentially have quoted quotes in them. We could get this 98% right
- # if we treat it as a quoted string *unless* it matches the
+ # intentionally have quoted quotes in them. We could get this 98%
+ # right if we treat it as a quoted string *unless* it matches the
# charset'lang'value pattern exactly *and* there is at least one
# encoded segment. Implementing that algorithm will require some
# refactoring, so I haven't done it (yet).
@@ -944,7 +944,7 @@ class TestMIMEVersionHeader(TestHeaderBase):
[errors.InvalidHeaderDefect]),
# Unrecoverable invalid values. We *could* apply more heuristics to
- # get someing out of the first two, but doing so is not worth the
+ # get something out of the first two, but doing so is not worth the
# effort.
'non_comment_garbage_before': (
@@ -1541,13 +1541,13 @@ class TestFolding(TestHeaderBase):
def test_fold_unstructured_with_commas(self):
# The old wrapper would fold this at the commas.
h = self.make_header('Subject', "This header is intended to "
- "demonstrate, in a fairly susinct way, that we now do "
+ "demonstrate, in a fairly succinct way, that we now do "
"not give a , special treatment in unstructured headers.")
self.assertEqual(
h.fold(policy=policy.default.clone(max_line_length=60)),
textwrap.dedent("""\
Subject: This header is intended to demonstrate, in a fairly
- susinct way, that we now do not give a , special treatment
+ succinct way, that we now do not give a , special treatment
in unstructured headers.
"""))