mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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:
|
||||
with pytest.raises(NotImplementedError) as e:
|
||||
ImageGrab.grabclipboard()
|
||||
self.assertEqual(
|
||||
str(e.value), "ImageGrab.grabclipboard() is macOS and Windows only"
|
||||
)
|
||||
assert str(e.value) == "ImageGrab.grabclipboard() is macOS and Windows only"
|
||||
return
|
||||
|
||||
im = ImageGrab.grabclipboard()
|
||||
|
|
Loading…
Reference in New Issue
Block a user