Skip to content

Commit 329f5bc

Browse files
committed
address review
1 parent 56c6adb commit 329f5bc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

can/io/logger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class Logger(BaseIOHandler, Listener): # pylint: disable=abstract-method
4040
arguments are passed on to the returned instance.
4141
"""
4242

43-
# pylint: disable=too-many-return-statements
4443
@staticmethod
4544
def __new__(
4645
cls, filename: typing.Optional[can.typechecking.PathLike], *args, **kwargs

test/listener_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def test_filetype_to_instance(extension, klass):
138138
with can.Logger(None) as logger:
139139
self.assertIsInstance(logger, can.Printer)
140140

141-
# test file extensions that should use a fallback
142141
should_fail_with = ["", ".", ".some_unknown_extention_42"]
143142
for supposed_fail in should_fail_with:
144143
with self.assertRaises(ValueError):

0 commit comments

Comments
 (0)