From af3be713c370d6d6321eef3ccf7a92d7799a640b Mon Sep 17 00:00:00 2001 From: Benjamin Auquite Date: Sun, 18 Feb 2024 18:31:29 -0600 Subject: [PATCH] fix a test --- tests/resource/formats/test_ncs_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(