mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Updated tests
This commit is contained in:
parent
790ff223fc
commit
d7c34511ba
|
@ -66,9 +66,7 @@ $bmp = New-Object Drawing.Bitmap 200, 200
|
||||||
else:
|
else:
|
||||||
with pytest.raises(NotImplementedError) as e:
|
with pytest.raises(NotImplementedError) as e:
|
||||||
ImageGrab.grabclipboard()
|
ImageGrab.grabclipboard()
|
||||||
self.assertEqual(
|
assert str(e.value) == "ImageGrab.grabclipboard() is macOS and Windows only"
|
||||||
str(e.value), "ImageGrab.grabclipboard() is macOS and Windows only"
|
|
||||||
)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
im = ImageGrab.grabclipboard()
|
im = ImageGrab.grabclipboard()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user