Closed maurerle closed 5 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
0f43e13
) 76.94% compared to head (4b3e1b5
) 76.96%.
Files | Patch % | Lines |
---|---|---|
assume/common/mango_serializer.py | 50.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@maurerle I believe the problem is that the version of datetime for python 3.10 doesn't have UTC in it, that was also a problem for me, and why I considered dropping 3.10 version
This drops the timezone information after conversion and therefore stays compliant with the current behavior. This is a follow-up to #285
It also includes tests for the helper functions, to make sure that they adhere to the offset correctly. Running the tests in CI might not be always helpful, as they probably run in UTC and therefore do not have weird issues.
The existing and current behavior is to always convert datetimes into UTC and never store the Timezone with them.