Skip to content

update pandas tests to work with v3

b6f0dd5
Select commit
Loading
Failed to load commit list.
Open

chore: handle pandas v2 and v3 by enforcing datetime freq of millisec #2528

update pandas tests to work with v3
b6f0dd5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 29, 2026 in 1s

93.44% (-0.01%) compared to b201b22

View this Pull Request on Codecov

93.44% (-0.01%) compared to b201b22

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.44%. Comparing base (b201b22) to head (b6f0dd5).
⚠️ Report is 17 commits behind head on pysdk-release-v8.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           pysdk-release-v8    #2528      +/-   ##
====================================================
- Coverage             93.44%   93.44%   -0.01%     
====================================================
  Files                   478      478              
  Lines                 48173    48218      +45     
====================================================
+ Hits                  45016    45058      +42     
- Misses                 3157     3160       +3     
Files with missing lines Coverage Δ
cognite/client/utils/_pandas_helpers.py 87.65% <100.00%> (ø)
...tegration/test_api/test_datapoint_subscriptions.py 86.93% <100.00%> (ø)
...ests/tests_integration/test_api/test_datapoints.py 99.30% <100.00%> (+<0.01%) ⬆️
tests/tests_unit/test_api/test_datapoints.py 100.00% <100.00%> (ø)
tests/tests_unit/test_api/test_raw.py 100.00% <ø> (ø)
tests/tests_unit/test_api/test_sequences.py 100.00% <100.00%> (ø)
tests/tests_unit/test_api/test_time_series.py 100.00% <100.00%> (ø)
tests/tests_unit/test_base.py 98.93% <ø> (ø)
...a_classes/test_data_models/test_typed_instances.py 99.37% <ø> (ø)
...ts/tests_unit/test_data_classes/test_datapoints.py 100.00% <ø> (ø)
... and 1 more

... and 16 files with indirect coverage changes

🚀 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.