Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make datetime from timestamp tests compare against Python result #4275

Merged
merged 4 commits into from
Jun 23, 2024

Conversation

davidhewitt
Copy link
Member

@davidhewitt davidhewitt commented Jun 21, 2024

Based off #4212, includes the commits from @Cheukting

The observation is that I believe these tests are trying to verify the Rust behaviour (via the datetime bindings in PyO3) matches the Python behaviour.

So if the call throws, it doesn't matter, as long as the Python call would also throw.

Closes #4212
Closes #3922

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Jun 21, 2024
@davidhewitt
Copy link
Member Author

As a test adjustment, will proceed to merge this now without waiting for review.

@davidhewitt davidhewitt added this pull request to the merge queue Jun 22, 2024
Merged via the queue into PyO3:main with commit a2f9399 Jun 23, 2024
41 checks passed
@davidhewitt davidhewitt deleted the flaky-datetime branch June 23, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datetime tests out of range macOS & python 3.12
2 participants