-
Couldn't load subscription status.
- Fork 20
Closed
Labels
part:testsAffects the unit, integration and performance (benchmarks) testsAffects the unit, integration and performance (benchmarks) teststype:bugSomething isn't workingSomething isn't working
Milestone
Description
What happened?
The MockResampler has a check None if not sample.value else ... which will end up interpreting a 0.0 value as None. For example:
| sample = Sample(self._next_ts, None if not value else Quantity(value)) |
What did you expect instead?
None should be handled with if not sample.value is None.
Affected version(s)
No response
Affected part(s)
Unit, integration and performance tests (part:tests)
Extra information
Related to:
Metadata
Metadata
Assignees
Labels
part:testsAffects the unit, integration and performance (benchmarks) testsAffects the unit, integration and performance (benchmarks) teststype:bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done