Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* timediff is of type timedelta. Divide by timedelta does not work. - convert a timedelta to int - make sure the test inputs real timestamps * Convert the total_seconds to decimal and round the result readings are of type Decimal, so fix test to reflect that * split line into multiple statements Line too long * use total_seconds instead of timediff * Make both values float instead of Decimal
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters