mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 21:26:46 +03:00
Merge pull request #3 from radarhere/bc6_tests
Restored unimplemented DXGI format test
This commit is contained in:
commit
75b3918822
BIN
Tests/images/unimplemented_dxgi_format.dds
Normal file
BIN
Tests/images/unimplemented_dxgi_format.dds
Normal file
Binary file not shown.
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user