Skip to content

Update timezone comparison in test_nc_tools#195

Merged
douglatornell merged 1 commit intomainfrom
fix-failing-tests
May 8, 2026
Merged

Update timezone comparison in test_nc_tools#195
douglatornell merged 1 commit intomainfrom
fix-failing-tests

Conversation

@douglatornell
Copy link
Copy Markdown
Member

Changed dateutil.tz.tzutc() to datetime.timezone.utc in the timezone comparison assertion in test_nc_tools.py. This ensures compatibility with Python's standard library and resolves a failing test due to mismatched timezone objects.

Changed `dateutil.tz.tzutc()` to `datetime.timezone.utc` in the timezone
comparison assertion in `test_nc_tools.py`. This ensures compatibility with
Python's standard library and resolves a failing test due to mismatched
timezone objects.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.16%. Comparing base (02db019) to head (411615d).
⚠️ Report is 34 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #195   +/-   ##
=======================================
  Coverage   47.16%   47.16%           
=======================================
  Files          35       35           
  Lines        5025     5025           
=======================================
  Hits         2370     2370           
  Misses       2655     2655           
Flag Coverage Δ
unittests 47.16% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@douglatornell douglatornell merged commit e6a7152 into main May 8, 2026
11 checks passed
@douglatornell douglatornell deleted the fix-failing-tests branch May 8, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working SalishSeaTools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant