We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf59ea commit 703ee4fCopy full SHA for 703ee4f
py/test/selenium/webdriver/firefox/firefox_sizing_tests.py
@@ -26,9 +26,7 @@
26
27
28
def is_running_wayland():
29
- if platform.system() == "Linux" and os.getenv("WAYLAND_DISPLAY"):
30
- return True
31
- return False
+ return platform.system() == "Linux" and os.getenv("WAYLAND_DISPLAY")
32
33
34
@pytest.mark.skipif(not is_running_wayland(), reason="This test only runs on Linux under Wayland")
0 commit comments