mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 16:50: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()
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user