From 53b682714291ef9bbda0b8c952b4dcb38aab90fc Mon Sep 17 00:00:00 2001 From: Younes Strittmatter Date: Tue, 23 Jul 2024 12:48:23 -0400 Subject: [PATCH] fix typing in test --- src/autora/experimentalist/utils.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/autora/experimentalist/utils.py b/src/autora/experimentalist/utils.py index 57282642..0c37d325 100644 --- a/src/autora/experimentalist/utils.py +++ b/src/autora/experimentalist/utils.py @@ -118,8 +118,12 @@ def array_to_sequence(input: numpy.typing.ArrayLike): This is converted into records: >>> l1 = list(array_to_sequence(a1)) - >>> l1 - [(0, 'a'), (1, 'b'), (2, 'c'), (3, 'd'), (4, 'e')] + >>> l1 # doctest: +NORMALIZE_WHITESPACE + [np.record((0, 'a'), dtype=[('f0', '>> type(l1[0])