mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix typos in comments, docs and test names (#15018)
* Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
This commit is contained in:
parent
0acb646b8e
commit
c4cacc8c5e
63 changed files with 73 additions and 73 deletions
|
@ -1008,7 +1008,7 @@ Test""")
|
|||
Subject: the first part of this is short,
|
||||
but_the_second_part_does_not_fit_within_maxlinelen_and_thus_should_be_on_a_line_all_by_itself""")
|
||||
|
||||
def test_splittable_leading_char_followed_by_overlong_unsplitable(self):
|
||||
def test_splittable_leading_char_followed_by_overlong_unsplittable(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
h = Header(', but_the_second'
|
||||
'_part_does_not_fit_within_maxlinelen_and_thus_should_be_on_a_line'
|
||||
|
@ -1017,7 +1017,7 @@ Subject: the first part of this is short,
|
|||
,
|
||||
but_the_second_part_does_not_fit_within_maxlinelen_and_thus_should_be_on_a_line_all_by_itself""")
|
||||
|
||||
def test_multiple_splittable_leading_char_followed_by_overlong_unsplitable(self):
|
||||
def test_multiple_splittable_leading_char_followed_by_overlong_unsplittable(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
h = Header(', , but_the_second'
|
||||
'_part_does_not_fit_within_maxlinelen_and_thus_should_be_on_a_line'
|
||||
|
@ -1026,14 +1026,14 @@ Subject: the first part of this is short,
|
|||
, ,
|
||||
but_the_second_part_does_not_fit_within_maxlinelen_and_thus_should_be_on_a_line_all_by_itself""")
|
||||
|
||||
def test_trailing_splitable_on_overlong_unsplitable(self):
|
||||
def test_trailing_splittable_on_overlong_unsplittable(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
h = Header('this_part_does_not_fit_within_maxlinelen_and_thus_should_'
|
||||
'be_on_a_line_all_by_itself;')
|
||||
eq(h.encode(), "this_part_does_not_fit_within_maxlinelen_and_thus_should_"
|
||||
"be_on_a_line_all_by_itself;")
|
||||
|
||||
def test_trailing_splitable_on_overlong_unsplitable_with_leading_splitable(self):
|
||||
def test_trailing_splittable_on_overlong_unsplittable_with_leading_splittable(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
h = Header('; '
|
||||
'this_part_does_not_fit_within_maxlinelen_and_thus_should_'
|
||||
|
@ -1466,7 +1466,7 @@ Blah blah blah
|
|||
g.flatten(msg)
|
||||
self.assertEqual(b.getvalue(), source + b'>From R\xc3\xb6lli\n')
|
||||
|
||||
def test_mutltipart_with_bad_bytes_in_cte(self):
|
||||
def test_multipart_with_bad_bytes_in_cte(self):
|
||||
# bpo30835
|
||||
source = textwrap.dedent("""\
|
||||
From: aperson@example.com
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue