mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-23 19:44:13 +03:00
Merge pull request #6859 from radarhere/xclip
Resolves https://github.com/python-pillow/Pillow/issues/6858
This commit is contained in:
commit
927780e556
|
@ -64,7 +64,7 @@ $bmp = New-Object Drawing.Bitmap 200, 200
|
||||||
)
|
)
|
||||||
p.communicate()
|
p.communicate()
|
||||||
else:
|
else:
|
||||||
if not shutil.which("wl-paste"):
|
if not shutil.which("wl-paste") and not shutil.which("xclip"):
|
||||||
with pytest.raises(
|
with pytest.raises(
|
||||||
NotImplementedError,
|
NotImplementedError,
|
||||||
match="wl-paste or xclip is required for"
|
match="wl-paste or xclip is required for"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user