Skip to content

Commit 39e8a01

Browse files
committed
Fix test case for expicit file version
1 parent 6192308 commit 39e8a01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/logformats_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,8 +1058,7 @@ class TestTrcFileFormatV1_0(TestTrcFileFormatBase):
10581058

10591059
@staticmethod
10601060
def Writer(filename):
1061-
writer = can.TRCWriter(filename)
1062-
writer.file_version = can.TRCFileVersion.V1_0
1061+
writer = can.TRCWriter(filename, file_version=can.TRCFileVersion.V1_0)
10631062
return writer
10641063

10651064
def _setup_instance(self):

0 commit comments

Comments
 (0)