Merge pull request #3 from radarhere/bc6_tests

Restored unimplemented DXGI format test
This commit is contained in:
ShadelessFox 2022-07-18 16:15:50 -07:00 committed by GitHub
commit 75b3918822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -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(): def test_uncompressed_rgb():
"""Check uncompressed RGB images can be opened""" """Check uncompressed RGB images can be opened"""