mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-27 01:00:33 +03:00
NotImplementedError will not be raised if xclip is available
This commit is contained in:
parent
f5c47ebe12
commit
e653aaee89
|
@ -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