init() if one of the formats is unrecognised #5037
from PIL import Image im = Image.open('Tests/images/hopper.webp', formats=('WEBP',))
This PR resolves that.
The text was updated successfully, but these errors were encountered:
The key part of the change here is causing a module to be imported, so that
The problem is that conftest
So the plugins are already imported. I'm not seeing a way to re-import a Python module.
I think it would be possible to mock a plugin, but I feel like that would be overly complex.