Use tuple instead of list

This commit is contained in:
Andrew Murray 2023-05-23 21:27:55 +10:00
parent bce0f0d5a6
commit 26d5f4fcb1

View File

@ -102,7 +102,7 @@ $ms = new-object System.IO.MemoryStream(, $bytes)
@pytest.mark.skipif( @pytest.mark.skipif(
( (
sys.platform != "linux" sys.platform != "linux"
or not all(shutil.which(cmd) for cmd in ["wl-paste", "wl-copy"]) or not all(shutil.which(cmd) for cmd in ("wl-paste", "wl-copy"))
), ),
reason="Linux with wl-clipboard only", reason="Linux with wl-clipboard only",
) )