diff --git a/tests/hardware/plugins/spectrometer/test_ftsw500_interface.py b/tests/hardware/plugins/spectrometer/test_ftsw500_interface.py index 9dd17ea8..887d798c 100644 --- a/tests/hardware/plugins/spectrometer/test_ftsw500_interface.py +++ b/tests/hardware/plugins/spectrometer/test_ftsw500_interface.py @@ -179,7 +179,7 @@ def test_get_status_bad(input: str, ftsw: FTSW500Interface) -> None: ftsw._get_status() -VALID_STATUSES = map(SpectrometerStatus, range(4)) +VALID_STATUSES = list(map(SpectrometerStatus, range(4))) """All possible statuses for the FTSW500."""