Skip to content

Conversation

pavoljuhas
Copy link
Collaborator

Address DeprecationWarning about datetime.utcfromtimestamp.

Also suppress pytest warning about using pytest.raises with an empty
match pattern. Use None to skip checking exception message instead.

Reference: https://docs.python.org/3.12/library/datetime.html#datetime.datetime.utcfromtimestamp

@github-actions github-actions bot added the size: S 10< lines changed <50 label Sep 29, 2025
pytest shows warnings when `pytest.raises` is used with an empty
`match` pattern.  In this test this is desired so we pass `None`
to skip checking the exception message instead.
@pavoljuhas pavoljuhas force-pushed the replace-utcfromtimestamp branch from c51736b to 6b7cc95 Compare September 29, 2025 19:34
@pavoljuhas pavoljuhas marked this pull request as draft September 29, 2025 23:01
@pavoljuhas
Copy link
Collaborator Author

NTS - hold until after #7677

@pavoljuhas pavoljuhas marked this pull request as ready for review September 30, 2025 17:22
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.37%. Comparing base (efb296e) to head (b7e933e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7676      +/-   ##
==========================================
- Coverage   99.37%   99.37%   -0.01%     
==========================================
  Files        1084     1084              
  Lines       96917    96917              
==========================================
- Hits        96315    96314       -1     
- Misses        602      603       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pavoljuhas pavoljuhas added this pull request to the merge queue Sep 30, 2025
Merged via the queue into quantumlib:main with commit d69b437 Sep 30, 2025
35 checks passed
@pavoljuhas pavoljuhas deleted the replace-utcfromtimestamp branch September 30, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: S 10< lines changed <50

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants