mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-31 02:19:58 +03:00
Update Tests/test_imagegrab.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
29b64ea926
commit
af3a1fdc15
|
@ -43,8 +43,8 @@ class TestImageGrab:
|
||||||
if (
|
if (
|
||||||
sys.platform not in ("win32", "darwin")
|
sys.platform not in ("win32", "darwin")
|
||||||
and not shutil.which("gnome-screenshot")
|
and not shutil.which("gnome-screenshot")
|
||||||
and not shutil.which("spectacle")
|
|
||||||
and not shutil.which("grim")
|
and not shutil.which("grim")
|
||||||
|
and not shutil.which("spectacle")
|
||||||
):
|
):
|
||||||
with pytest.raises(OSError) as e:
|
with pytest.raises(OSError) as e:
|
||||||
ImageGrab.grab()
|
ImageGrab.grab()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user