From 8589da07233efe6a26cf73dac00d7e0d9bc1b563 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 5 Jul 2023 15:58:52 +0800 Subject: [PATCH] test_arguments: rename ndecimals to precision --- artiq/test/test_arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/test_arguments.py b/artiq/test/test_arguments.py index 884c8982f..7cebf3c13 100644 --- a/artiq/test/test_arguments.py +++ b/artiq/test/test_arguments.py @@ -9,7 +9,7 @@ from artiq.language.environment import BooleanValue, EnumerationValue, \ class NumberValueCase(unittest.TestCase): def setUp(self): self.default_value = NumberValue() - self.int_value = NumberValue(42, step=1, ndecimals=0) + self.int_value = NumberValue(42, step=1, precision=0) self.float_value = NumberValue(42) def test_invalid_default(self):