Skip to content

chore: fix some typos in comment #5804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extra_tests/snippets/builtin_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def bad_del_2():
assert x == ["a", 2, 3, 4, 5]
x[-1] = "b"
assert x == ["a", 2, 3, 4, "b"]
# make sure refrences are assigned correctly
# make sure references are assigned correctly
y = []
x[1] = y
y.append(100)
Expand Down Expand Up @@ -434,7 +434,7 @@ def set_index_out_of_bounds_low():
y[2:8:1] = []
assert x == [0, 1, 8, 9]
assert x == y
# make sure refrences are assigned correctly
# make sure references are assigned correctly
yy = []
x = a[:]
y = a[:]
Expand Down
2 changes: 1 addition & 1 deletion extra_tests/snippets/stdlib_io_bytesio.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_04():

def test_05():
"""
Tests that the write method accpets bytearray
Tests that the write method accepts bytearray
"""
bytes_string = b"Test String 5"

Expand Down
2 changes: 1 addition & 1 deletion extra_tests/snippets/stdlib_itertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
with assert_raises(TypeError):
next(x)

# iterables are lazily evaluted
# iterables are lazily evaluated
x = chain.from_iterable(itertools.repeat(range(2)))
assert next(x) == 0
assert next(x) == 1
Expand Down
2 changes: 1 addition & 1 deletion extra_tests/snippets/stdlib_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def recursive_call(n):
assert 0 <= winver.suite_mask <= all_masks
assert 1 <= winver.product_type <= 3

# XXX if platform_version is implemented correctly, this'll break on compatiblity mode or a build without manifest
# XXX if platform_version is implemented correctly, this'll break on compatibility mode or a build without manifest
# these fields can mismatch in CPython
assert winver.major == winver.platform_version[0]
assert winver.minor == winver.platform_version[1]
Expand Down