Restored unimplemented DXGI format test

This commit is contained in:
Andrew Murray 2022-07-19 07:18:48 +10:00
parent fac18a5b60
commit 0d0cf6374c
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():
"""Check uncompressed RGB images can be opened"""