From 280e3254d1b081a777ee91f1e043cb6aecaec144 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 27 Apr 2026 17:03:49 +0200 Subject: [PATCH] minor: rounding test --- python/tests/test_freq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_freq.py b/python/tests/test_freq.py index c9a1c4649..c4e8b216e 100644 --- a/python/tests/test_freq.py +++ b/python/tests/test_freq.py @@ -16,7 +16,7 @@ def test_Hz(): def test_rounding_exact(): f = MHz(1.234) - assert f.value == round(1.234 * 1_000_000) + assert f.value == round(1_234_000) def test_mul():