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:
parent
94e076e976
commit
8589da0723
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user