Skip to content

Commit

Permalink
Fixed problem with running running test suites under Python 2.
Browse files Browse the repository at this point in the history
Relates to issue #642.
  • Loading branch information
tkeffer committed Jan 29, 2021
1 parent fc950cc commit 4bac0b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/weewx/tests/test_manager.py
Expand Up @@ -103,8 +103,8 @@ def check_weights(self):
self.assertAlmostEqual(result5[0], result6[0], 3)
# check weights for vector types, for now that is just type wind
result7 = self.db_manager.getSql("SELECT SUM(xsum), SUM(ysum), SUM(dirsumtime) FROM archive_day_wind")
self.assertAlmostEqual(result7[0], 5032317.02130538)
self.assertAlmostEqual(result7[1], -2600.12632736422)
self.assertAlmostEqual(result7[0], 5032317.021, 3)
self.assertAlmostEqual(result7[1], -2600.126, 3)
self.assertEqual(result7[2], 1040400)


Expand Down

0 comments on commit 4bac0b0

Please sign in to comment.