We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4afcda0 commit a4086afCopy full SHA for a4086af
1 file changed
pythonosc/test/parsing/test_ntp.py
@@ -14,7 +14,7 @@ def test_nto_to_system_time(self):
14
self.assertTrue(type(unix_time) is float)
15
self.assertTrue(type(timestamp) is bytes)
16
self.assertTrue(type(unix_time2) is float)
17
- self.assertEqual(round(unix_time, 6), round(unix_time2, 6))
+ self.assertAlmostEqual(unix_time, unix_time2, places=5)
18
19
20
if __name__ == "__main__":
0 commit comments