Skip to content

Commit 89eb182

Browse files
committed
Updated test
1 parent 6159370 commit 89eb182

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_imagegrab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_grab_handle(self) -> None:
8888

8989
ImageGrab.grab(window=window)
9090

91-
im = ImageGrab.grab((0, 0, 10, 10), window=window)
91+
im = ImageGrab.grab((0, 0, 10, 10), window=window, scale_down=True)
9292
assert im.size == (10, 10)
9393

9494
@pytest.mark.skipif(

docs/reference/ImageGrab.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ or the clipboard to a PIL image memory.
5353
.. versionadded:: 11.2.1 Windows support
5454
.. versionadded:: 12.1.0 macOS support
5555

56-
:param scale_down: On macOS, Retina screens will provide images at 2x size by default. This will prevent that, and scale down to 1x.
56+
:param scale_down: On macOS, Retina screens will provide ``bbox`` images at 2x size by default. This will prevent that, and scale down to 1x.
5757
Keyword-only argument.
5858

5959
.. versionadded:: 12.3.0

0 commit comments

Comments
 (0)