Skip to content

Commit db0b20c

Browse files
committed
corrected unit test
1 parent 26ffd06 commit db0b20c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_socketcan_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_error_code_to_str(self):
2525
"""
2626

2727
# all possible & also some invalid error codes
28-
test_data = range(0, 256) + (-1, 256, 5235, 346264)
28+
test_data = [range(0, 256)] + (-1, 256, 5235, 346264)
2929

3030
for error_code in test_data:
3131
string = error_code_to_str(error_code)

0 commit comments

Comments
 (0)