diff --git a/Tests/test_imagegrab.py b/Tests/test_imagegrab.py index 317db4c0120..fa88065f43c 100644 --- a/Tests/test_imagegrab.py +++ b/Tests/test_imagegrab.py @@ -64,7 +64,7 @@ def test_grabclipboard(self): ) p.communicate() else: - if not shutil.which("wl-paste"): + if not shutil.which("wl-paste") and not shutil.which("xclip"): with pytest.raises( NotImplementedError, match="wl-paste or xclip is required for"