mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#18466: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
b5bc353b88
commit
85a8629d21
12 changed files with 12 additions and 12 deletions
|
@ -250,7 +250,7 @@ class TestTimeZone(unittest.TestCase):
|
|||
t.replace(tzinfo=tz).dst())
|
||||
|
||||
#############################################################################
|
||||
# Base clase for testing a particular aspect of timedelta, time, date and
|
||||
# Base class for testing a particular aspect of timedelta, time, date and
|
||||
# datetime comparisons.
|
||||
|
||||
class HarmlessMixedComparison:
|
||||
|
|
|
@ -22,7 +22,7 @@ def to_tuple(t):
|
|||
|
||||
|
||||
# These tests are compiled through "exec"
|
||||
# There should be atleast one test per statement
|
||||
# There should be at least one test per statement
|
||||
exec_tests = [
|
||||
# None
|
||||
"None",
|
||||
|
|
|
@ -374,7 +374,7 @@ class CookieTests(unittest.TestCase):
|
|||
## commas and equals are commonly appear in the cookie value). This also
|
||||
## means that if you fold multiple Set-Cookie header fields into one,
|
||||
## comma-separated list, it'll be a headache to parse (at least my head
|
||||
## starts hurting everytime I think of that code).
|
||||
## starts hurting every time I think of that code).
|
||||
## - Expires: You'll get all sorts of date formats in the expires,
|
||||
## including emtpy expires attributes ("expires="). Be as flexible as you
|
||||
## can, and certainly don't expect the weekday to be there; if you can't
|
||||
|
|
|
@ -59,7 +59,7 @@ class NormalizationTest(unittest.TestCase):
|
|||
c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
|
||||
except RangeError:
|
||||
# Skip unsupported characters;
|
||||
# try atleast adding c1 if we are in part1
|
||||
# try at least adding c1 if we are in part1
|
||||
if part == "@Part1":
|
||||
try:
|
||||
c1 = unistr(line.split(';')[0])
|
||||
|
|
|
@ -1218,7 +1218,7 @@ class URLopener_Tests(unittest.TestCase):
|
|||
# Everywhere else they work ok, but on those machines, sometimes
|
||||
# fail in one of the tests, sometimes in other. I have a linux, and
|
||||
# the tests go ok.
|
||||
# If anybody has one of the problematic enviroments, please help!
|
||||
# If anybody has one of the problematic environments, please help!
|
||||
# . Facundo
|
||||
#
|
||||
# def server(evt):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue