Skip to content
Closed
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
2 changes: 1 addition & 1 deletion Tests/test_file_tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ class TestFileTiffW32:
def test_fd_leak(self, tmp_path: Path) -> None:
tmpfile = tmp_path / "temp.tif"

# this is an mmaped file.
# this is an mmapped file.
with Image.open("Tests/images/uint16_1_4660.tif") as im:
im.save(tmpfile)

Expand Down
2 changes: 1 addition & 1 deletion Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def test_internals(self) -> None:
@pytest.mark.skipif(is_win32(), reason="Test requires opening tempfile twice")
@pytest.mark.skipif(
sys.platform == "cygwin",
reason="Test requires opening an mmaped file for writing",
reason="Test requires opening an mmapped file for writing",
)
def test_readonly_save(self, tmp_path: Path) -> None:
temp_file = tmp_path / "temp.bmp"
Expand Down
4 changes: 2 additions & 2 deletions Tests/test_imagefont.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def test_rotated_transposed_font(
bbox_b[2] - bbox_b[0],
)

# Check top left co-ordinates are correct
# Check top left coordinates are correct
assert bbox_b[:2] == (20, 20)

# text length is undefined for vertical text
Expand Down Expand Up @@ -410,7 +410,7 @@ def test_unrotated_transposed_font(
bbox_b[3] - bbox_b[1],
)

# Check top left co-ordinates are correct
# Check top left coordinates are correct
assert bbox_b[:2] == (20, 20)

assert length_a == length_b
Expand Down