Skip to content

Commit

Permalink
Merge pull request #3 from radarhere/bc6_tests
Browse files Browse the repository at this point in the history
Restored unimplemented DXGI format test
  • Loading branch information
ShadelessFox committed Jul 18, 2022
2 parents fac18a5 + 0d0cf63 commit 75b3918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added Tests/images/unimplemented_dxgi_format.dds
Binary file not shown.
6 changes: 6 additions & 0 deletions Tests/test_file_dds.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ def test_dx10_r8g8b8a8_unorm_srgb():
)


def test_unimplemented_dxgi_format():
with pytest.raises(NotImplementedError):
with Image.open("Tests/images/unimplemented_dxgi_format.dds"):
pass


def test_uncompressed_rgb():
"""Check uncompressed RGB images can be opened"""

Expand Down

0 comments on commit 75b3918

Please sign in to comment.