Skip to content

Fixes for Python 3.12 datetime behaviour#24

Open
nathanjrobertson wants to merge 1 commit intorenalreg:masterfrom
nathanjrobertson:py312_test_fixes
Open

Fixes for Python 3.12 datetime behaviour#24
nathanjrobertson wants to merge 1 commit intorenalreg:masterfrom
nathanjrobertson:py312_test_fixes

Conversation

@nathanjrobertson
Copy link
Copy Markdown

@nathanjrobertson nathanjrobertson commented Mar 25, 2026

This PR includes fixes for the two pytest failures when running against Python 3.12, due to a change in Python 3.12 regarding how datetime.replace() behaves with subclasses.

I've tested the pytest tests with Python 3.10, 3.11, 3.12, 3.13 and 3.14 (being all of the currently supported versions). All tests now pass on all of those versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant