Skip to content

Use register_handler#8499

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:stub
Dec 27, 2024
Merged

Use register_handler#8499
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:stub

Conversation

@radarhere
Copy link
Copy Markdown
Member

Rather than setting the private _handler in our tests,

BufrStubImagePlugin._handler = None

we can use the public method of BufrStubImagePlugin.register_handler().

@hugovk hugovk merged commit dcd0479 into python-pillow:main Dec 27, 2024
@radarhere radarhere deleted the stub branch December 27, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants