Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 24, 2020
1 parent 790ff22 commit d7c3451
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/test_imagegrab.py
Expand Up @@ -66,9 +66,7 @@ def test_grabclipboard(self):
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()
Expand Down

0 comments on commit d7c3451

Please sign in to comment.