diff --git a/tests/resource/formats/test_ncs_compiler.py b/tests/resource/formats/test_ncs_compiler.py index 1ebefc0bb..524c65277 100644 --- a/tests/resource/formats/test_ncs_compiler.py +++ b/tests/resource/formats/test_ncs_compiler.py @@ -2299,7 +2299,7 @@ def test_struct_set_members(self): self.assertEqual(123, interpreter.action_snapshots[-3].arg_values[0]) self.assertEqual("abc", interpreter.action_snapshots[-2].arg_values[0]) - self.assertAlmostEqual(math.pi, interpreter.action_snapshots[-1].arg_values[0]) + self.assertAlmostEqual(3.14, interpreter.action_snapshots[-1].arg_values[0].value) def test_prefix_increment_sp_int(self): ncs = self.compile(