Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pillow/Pillow
/ test_decode
Method
test_decode
Tests/test_imagefile.py:352–355 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
350
assert MockPyDecoder.last.state.ysize == 200
351
352
def
test_decode(self) -> None:
353
decoder = ImageFile.PyDecoder(
""
)
354
with
pytest.raises(NotImplementedError):
355
decoder.decode(b
""
)
356
357
358
class
TestPyEncoder(CodecsTest):
Callers
nothing calls this directly
Calls
1
decode
Method · 0.95
Tested by
no test coverage detected