diff --git a/test/logformats_test.py b/test/logformats_test.py index 0ea44461e..0fbe065d2 100644 --- a/test/logformats_test.py +++ b/test/logformats_test.py @@ -667,7 +667,7 @@ def test_write(self): msg = can.Message( timestamp=now.timestamp(), arbitration_id=0x123, - data=(_ for _ in range(64)), + data=range(64), ) with writer: