Merge pull request #6859 from radarhere/xclip

Resolves https://github.com/python-pillow/Pillow/issues/6858
This commit is contained in:
Hugo van Kemenade 2023-01-03 19:28:30 +02:00 committed by GitHub
commit 927780e556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ $bmp = New-Object Drawing.Bitmap 200, 200
)
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"