Skip to content

Commit f0bb206

Browse files
Progress
1 parent f00a0fc commit f0bb206

18 files changed

+24
-24
lines changed

Lib/imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,7 @@ def _pop(self, timeout, default=('', None)):
15241524
# Historical Note:
15251525
# The timeout was originally implemented using select() after
15261526
# checking for the presence of already-buffered data.
1527-
# That allowed timeouts on pipe connetions like IMAP4_stream.
1527+
# That allowed timeouts on pipe connections like IMAP4_stream.
15281528
# However, it seemed possible that SSL data arriving without any
15291529
# IMAP data afterward could cause select() to indicate available
15301530
# application data when there was none, leading to a read() call

Lib/test/test_gzip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_read1(self):
144144
self.assertEqual(b''.join(blocks), data1 * 50)
145145

146146
def test_readinto(self):
147-
# 10MB of uncompressible data to ensure multiple reads
147+
# 10MB of incompressible data to ensure multiple reads
148148
large_data = os.urandom(10 * 2**20)
149149
with gzip.GzipFile(self.filename, 'wb') as f:
150150
f.write(large_data)
@@ -156,7 +156,7 @@ def test_readinto(self):
156156
self.assertEqual(buf, large_data)
157157

158158
def test_readinto1(self):
159-
# 10MB of uncompressible data to ensure multiple reads
159+
# 10MB of incompressible data to ensure multiple reads
160160
large_data = os.urandom(10 * 2**20)
161161
with gzip.GzipFile(self.filename, 'wb') as f:
162162
f.write(large_data)

Lib/test/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ def __getattr__(self, attribute):
23872387
return getattr(queue, attribute)
23882388

23892389
class CustomQueueFakeProtocol(CustomQueueProtocol):
2390-
# An object implementing the minimial Queue API for
2390+
# An object implementing the minimal Queue API for
23912391
# the logging module but with incorrect signatures.
23922392
#
23932393
# The object will be considered a valid queue class since we

Lib/test/test_memoryview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def test_picklebuffer_reference_loop(self):
738738
@support.requires_resource("cpu")
739739
class RacingTest(unittest.TestCase):
740740
def test_racing_getbuf_and_releasebuf(self):
741-
"""Repeatly access the memoryview for racing."""
741+
"""Repeatedly access the memoryview for racing."""
742742
try:
743743
from multiprocessing.managers import SharedMemoryManager
744744
except ImportError:

Lib/test/test_opcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def test(default=None):
571571
def make_deferred_ref_count_obj():
572572
"""Create an object that uses deferred reference counting.
573573
574-
Only objects that use deferred refence counting may be stored in inline
574+
Only objects that use deferred reference counting may be stored in inline
575575
caches in free-threaded builds. This constructs a new class named Foo,
576576
which uses deferred reference counting.
577577
"""

Lib/test/test_plistlib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def test_load_aware_datetime(self):
858858
self.assertEqual(dt.tzinfo, datetime.UTC)
859859

860860
@unittest.skipUnless("America/Los_Angeles" in zoneinfo.available_timezones(),
861-
"Can't find timezone datebase")
861+
"Can't find timezone database")
862862
def test_dump_aware_datetime(self):
863863
dt = datetime.datetime(2345, 6, 7, 8, 9, 10,
864864
tzinfo=zoneinfo.ZoneInfo("America/Los_Angeles"))
@@ -877,7 +877,7 @@ def test_dump_utc_aware_datetime(self):
877877
self.assertEqual(loaded_dt, dt)
878878

879879
@unittest.skipUnless("America/Los_Angeles" in zoneinfo.available_timezones(),
880-
"Can't find timezone datebase")
880+
"Can't find timezone database")
881881
def test_dump_aware_datetime_without_aware_datetime_option(self):
882882
dt = datetime.datetime(2345, 6, 7, 8,
883883
tzinfo=zoneinfo.ZoneInfo("America/Los_Angeles"))
@@ -1032,7 +1032,7 @@ def test_load_aware_datetime(self):
10321032
datetime.datetime(2345, 6, 7, 8, tzinfo=datetime.UTC))
10331033

10341034
@unittest.skipUnless("America/Los_Angeles" in zoneinfo.available_timezones(),
1035-
"Can't find timezone datebase")
1035+
"Can't find timezone database")
10361036
def test_dump_aware_datetime_without_aware_datetime_option(self):
10371037
dt = datetime.datetime(2345, 6, 7, 8,
10381038
tzinfo=zoneinfo.ZoneInfo("America/Los_Angeles"))

Lib/test/test_pty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def normalize_output(data):
5353
# etc.)
5454

5555
# This is about the best we can do without getting some feedback
56-
# from someone more knowledgable.
56+
# from someone more knowledgeable.
5757

5858
# OSF/1 (Tru64) apparently turns \n into \r\r\n.
5959
if data.endswith(b'\r\r\n'):

Lib/test/test_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def check_unhashable_element():
661661
with check_unhashable_element():
662662
myset.discard(elem)
663663

664-
# Only TypeError exception is overriden,
664+
# Only TypeError exception is overridden,
665665
# other exceptions are left unchanged.
666666
class HashError:
667667
def __hash__(self):

Lib/test/test_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ def test_cdf(self):
29982998
X = NormalDist(100, 15)
29992999
cdfs = [X.cdf(x) for x in range(1, 200)]
30003000
self.assertEqual(set(map(type, cdfs)), {float})
3001-
# Verify montonic
3001+
# Verify monotonic
30023002
self.assertEqual(cdfs, sorted(cdfs))
30033003
# Verify center (should be exact)
30043004
self.assertEqual(X.cdf(100), 0.50)

Lib/test/test_subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3438,7 +3438,7 @@ def test_vfork_used_when_expected(self):
34383438
# because libc tends to implement that internally using vfork. But
34393439
# that'd just be testing a libc+kernel implementation detail.
34403440

3441-
# Are intersted in the system calls:
3441+
# Are interested in the system calls:
34423442
# clone,clone2,clone3,fork,vfork,exit,exit_group
34433443
# Unfortunately using `--trace` with that list to strace fails because
34443444
# not all are supported on all platforms (ex. clone2 is ia64 only...)

0 commit comments

Comments
 (0)