Skip to content

Commit b1a596e

Browse files
Snooz82aaltat
authored andcommitted
linting...
Signed-off-by: René <snooz@posteo.de>
1 parent 8041ef6 commit b1a596e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

atest/tests_listener.robot

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*** Settings ***
2-
Library ListenerCore.py
2+
Library ListenerCore.py
33

44

55
*** Test Cases ***

src/robotlibcore.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ def _insert_manually_registered_listeners(self, component_listeners: list) -> li
8787
return component_listeners
8888

8989
def _get_component_listeners(self, library_listeners):
90-
return [
91-
component
92-
for component in library_listeners
93-
if hasattr(component, "ROBOT_LISTENER_API_VERSION")
94-
]
90+
return [component for component in library_listeners if hasattr(component, "ROBOT_LISTENER_API_VERSION")]
9591

9692
def __get_members(self, component):
9793
if inspect.ismodule(component):

0 commit comments

Comments
 (0)