Skip to content

Commit 3c6d6f3

Browse files
committed
fix dict ordering
1 parent 9196f66 commit 3c6d6f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/unit/test_pymas.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ def test_ds2_variables_dict_input():
211211
assert [DS2Variable('a', 'uint8', False),
212212
DS2Variable('b', 'uint16', False),
213213
DS2Variable('c', 'uint32', False),
214-
DS2Variable('d', 'uint64', False)] == ds2_variables(OrderedDict(a=int, b=int, c=int, d=int))
214+
DS2Variable('d', 'uint64', False)] == ds2_variables(OrderedDict([('a', int),
215+
('b', int),
216+
('c', int),
217+
('d', int)]))
215218

216219

217220
def test_ds2_variables_func_input():

0 commit comments

Comments
 (0)