Test copy_image with bytes.
(self)
| 27 | assert result is None |
| 28 | |
| 29 | def test_copy_image_bytes(self): |
| 30 | """Test copy_image with bytes.""" |
| 31 | img_bytes = b"fake image data" |
| 32 | result = copy_image(img_bytes) |
| 33 | assert result == img_bytes |
| 34 | |
| 35 | def test_copy_image_pil(self, mock_image): |
| 36 | """Test copy_image with PIL Image returns the same reference.""" |
nothing calls this directly
no test coverage detected