From 26e8cfb47992274fe48491229b491144bfe1262b Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 9 Jul 2024 07:28:59 +0000 Subject: [PATCH] Restyled by autopep8 --- src/python_testing/TC_ACE_1_2.py | 1 - src/python_testing/matter_testing_support.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python_testing/TC_ACE_1_2.py b/src/python_testing/TC_ACE_1_2.py index 421a318fd66f66..d1496c89f6d6ba 100644 --- a/src/python_testing/TC_ACE_1_2.py +++ b/src/python_testing/TC_ACE_1_2.py @@ -90,7 +90,6 @@ def __init__(self, *args): self.subscriptions = [] super().__init__(*args) - def teardown_class(self): for subscription in self.subscriptions: subscription.Shutdown() diff --git a/src/python_testing/matter_testing_support.py b/src/python_testing/matter_testing_support.py index 4bf5b5a4d08599..f862ff88f7c512 100644 --- a/src/python_testing/matter_testing_support.py +++ b/src/python_testing/matter_testing_support.py @@ -1506,6 +1506,7 @@ def generate_random_nodeid(excluded_nodeid: typing.Optional[typing.Set] = set()) return generate_random_nodeid(excluded_nodeid) return nodeid + def async_test_body(body): """Decorator required to be applied whenever a `test_*` method is `async def`. @@ -1710,7 +1711,7 @@ def run_tests_no_exit(test_class: MatterBaseTest, matter_test_config: MatterTest try: runner.run() - ok = runner.results.is_all_pass and ok + ok = runner.results.is_all_pass and ok except TimeoutError: ok = False except signals.TestAbortAll: