Skip to content

Commit

Permalink
Do not remove second load call
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 26, 2024
1 parent 3a8eaf5 commit 3222d36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/test_file_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
2 changes: 2 additions & 0 deletions Tests/test_file_gbr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
2 changes: 2 additions & 0 deletions Tests/test_file_wal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3222d36

Please sign in to comment.