(self, _from_stream_, BytesIO_, stream_, image_)
| 152 | |
| 153 | @pytest.fixture |
| 154 | def from_path_fixture(self, _from_stream_, BytesIO_, stream_, image_): |
| 155 | filename = "python-icon.png" |
| 156 | image_path = test_file(filename) |
| 157 | with open(image_path, "rb") as f: |
| 158 | blob = f.read() |
| 159 | return image_path, _from_stream_, stream_, blob, filename, image_ |
| 160 | |
| 161 | @pytest.fixture(params=["foobar.png", None]) |
| 162 | def from_stream_fixture( |