Skip to content

Commit 7389b23

Browse files
author
Caleb Perkinson
committed
Format code with black
1 parent 2111d7c commit 7389b23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

can/io/asc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
:param base: Select the base(hex or dec) of id and data.
4949
If the header of the asc file contains base information,
5050
this value will be overwritten. Default "hex".
51-
:param relative_timestamp: Select whether the timestamps are
51+
:param relative_timestamp: Select whether the timestamps are
5252
`relative` (starting at 0.0) or `absolute` (starting at
5353
the system time). Default `True = relative`.
5454
"""

test/logformats_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class TestAscFileFormat(ReaderWriterTest):
366366
"""Tests can.ASCWriter and can.ASCReader"""
367367

368368
FORMAT_START_OF_FILE_DATE = "%a %b %d %I:%M:%S.%f %p %Y"
369-
369+
370370
def _setup_instance(self):
371371
super()._setup_instance_helper(
372372
can.ASCWriter,
@@ -385,8 +385,8 @@ def _read_log_file(self, filename, **kwargs):
385385
def test_absolute_time(self):
386386
time_from_file = "Sat Sep 30 10:06:13.191 PM 2017"
387387
start_time = datetime.strptime(
388-
time_from_file, self.FORMAT_START_OF_FILE_DATE
389-
).timestamp()
388+
time_from_file, self.FORMAT_START_OF_FILE_DATE
389+
).timestamp()
390390

391391
expected_messages = [
392392
can.Message(

0 commit comments

Comments
 (0)