Skip to content

Conversation

carlos-villavicencio-adsk
Copy link
Contributor

This pull request includes a small improvement to the test_transform_data method in tests/test_client.py. The change updates the way UTC timestamps are created to use datetime.fromtimestamp with the tz=datetime.timezone.utc parameter, replacing the deprecated use of datetime.utcfromtimestamp.

@carlos-villavicencio-adsk carlos-villavicencio-adsk requested a review from a team June 5, 2025 14:45
julien-lang
julien-lang previously approved these changes Jun 5, 2025
@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit 2099494 into master Jun 10, 2025
22 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-37924_replace_utcnow branch June 10, 2025 20:25
eduardoChaucaGallegos pushed a commit that referenced this pull request Jul 15, 2025
* Replace `utcfromtimestamp` for Python 3.12

* Support expected value
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.

2 participants