2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

test_arguments: rename ndecimals to precision

This commit is contained in:
Simon Renblad 2023-07-05 15:58:52 +08:00 committed by Sébastien Bourdeauducq
parent 94e076e976
commit 8589da0723

View File

@ -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):