MCPcopy 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
358class TestPyEncoder(CodecsTest):

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected