Skip to content

make datetime from timestamp tests compare against Python result#4275

Merged
davidhewitt merged 4 commits intoPyO3:mainfrom
davidhewitt:flaky-datetime
Jun 23, 2024
Merged

make datetime from timestamp tests compare against Python result#4275
davidhewitt merged 4 commits intoPyO3:mainfrom
davidhewitt:flaky-datetime

Conversation

@davidhewitt
Copy link
Copy Markdown
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
Copy Markdown
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
@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