diff --git a/tests/test_serialization.py b/tests/test_serialization.py index 4e58092..b991913 100644 --- a/tests/test_serialization.py +++ b/tests/test_serialization.py @@ -60,7 +60,8 @@ class SerializationTest(unittest.TestCase): self.assertAlmostEqual( test_data, deserialized, delta=1.0/32.0) elif data_type is Angle: - self.assertAlmostEqual(test_data % 360, deserialized, + self.assertAlmostEqual(test_data % 360, + deserialized, delta=360/256) elif data_type is Float or data_type is Double: self.assertAlmostEqual(test_data, deserialized, 3)