Skip to content

Commit 703ee4f

Browse files
committed
[py] Fix boolean
1 parent 2bf59ea commit 703ee4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

py/test/selenium/webdriver/firefox/firefox_sizing_tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626

2727

2828
def is_running_wayland():
29-
if platform.system() == "Linux" and os.getenv("WAYLAND_DISPLAY"):
30-
return True
31-
return False
29+
return platform.system() == "Linux" and os.getenv("WAYLAND_DISPLAY")
3230

3331

3432
@pytest.mark.skipif(not is_running_wayland(), reason="This test only runs on Linux under Wayland")

0 commit comments

Comments
 (0)