Skip to content

Commit 1cef4bf

Browse files
committed
tests: clean-up
1 parent efd0854 commit 1cef4bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ def pixel_ratio() -> int:
6363
# Grab a 1x1 screenshot
6464
region = {"top": 0, "left": 0, "width": 1, "height": 1}
6565

66-
with mss(display=os.getenv("DISPLAY")) as sct:
67-
# On macOS with Retina display, the width will be 2 instead of 1
66+
with mss() as sct:
67+
# On macOS with Retina display, the width can be 2 instead of 1
6868
return sct.grab(region).size[0]

0 commit comments

Comments
 (0)