Skip to content

Conversation

@Andrene
Copy link
Contributor

@Andrene Andrene commented Jan 1, 2026

Fixes #214

@Andrene
Copy link
Contributor Author

Andrene commented Jan 1, 2026

Test is failing due to a timestamp comparison.

Prior behavior of utcfromtimestamp was to generate a naive datetime, now datetimes are aware.

Is it desired to have the prior behavior?

@StoicLoofah
Copy link
Collaborator

Test is failing due to a timestamp comparison.

Prior behavior of utcfromtimestamp was to generate a naive datetime, now datetimes are aware.

Is it desired to have the prior behavior?

I think the new behavior is better. Can you update the test to match the new behavior? Thanks for jumping on this so quickly!

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.

DeprecationWarning: datetime.datetime.utcfromtimestamp()

2 participants