Skip to content

Commit 34ebfbf

Browse files
author
TJ Bruno
committed
Satisfy black formatter
1 parent f58acd3 commit 34ebfbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

can/bus.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
self,
5050
channel: Any,
5151
can_filters: Optional[can.typechecking.CanFilters] = None,
52-
**kwargs: object
52+
**kwargs: object,
5353
):
5454
"""Construct and open a CAN bus instance of the specified type.
5555
@@ -441,7 +441,6 @@ def __del__(self) -> None:
441441
self.shutdown()
442442
LOG.warn(f"{self.__class__} was not properly shut down")
443443

444-
445444
@property
446445
def state(self) -> BusState:
447446
"""

test/test_bus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def test_bus_ignore_config():
1414
_ = can.Bus(interface="virtual")
1515
assert can.util.load_config.called
1616

17+
1718
@patch.object(can.bus.BusABC, "shutdown")
1819
def test_bus_attempts_self_cleanup(mock_shutdown):
1920
bus = can.Bus(interface="virtual")

0 commit comments

Comments
 (0)