forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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