diff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py index 1c3a2a1d142..506e36e7de4 100644 --- a/Tests/test_file_eps.py +++ b/Tests/test_file_eps.py @@ -102,6 +102,8 @@ def test_load() -> None: assert px[0, 0] == (255, 255, 255) # Test again now that it has already been loaded once + px = im.load() + assert px is not None assert px[0, 0] == (255, 255, 255) diff --git a/Tests/test_file_gbr.py b/Tests/test_file_gbr.py index 19ef2ddde98..1b834cd3c73 100644 --- a/Tests/test_file_gbr.py +++ b/Tests/test_file_gbr.py @@ -19,6 +19,8 @@ def test_load() -> None: assert px[0, 0] == (0, 0, 0, 0) # Test again now that it has already been loaded once + px = im.load() + assert px is not None assert px[0, 0] == (0, 0, 0, 0) diff --git a/Tests/test_file_wal.py b/Tests/test_file_wal.py index bd1036712ce..b15d79d61e0 100644 --- a/Tests/test_file_wal.py +++ b/Tests/test_file_wal.py @@ -26,4 +26,6 @@ def test_load() -> None: assert px[0, 0] == 122 # Test again now that it has already been loaded once + px = im.load() + assert px is not None assert px[0, 0] == 122