Skip to content

Commit 823340a

Browse files
committed
Fix python linter errors.
1 parent 1f17186 commit 823340a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/python_testing/TC_AVSMTestBase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
import matter.clusters as Clusters
2323
from matter.clusters import Globals
2424
from matter.interaction_model import InteractionModelError, Status
25-
from matter.testing.matter_testing import AttributeMatcher
25+
from matter.testing.matter_testing import AttributeMatcher, AttributeValue
2626

2727
logger = logging.getLogger(__name__)
2828

2929

3030
def wmark_osd_matcher(attribute_id: int, wmark: bool, osd: bool, wmark_check: bool, osd_check: bool) -> "AttributeMatcher":
31-
def predicate(report: "AttributeValue") -> bool:
31+
def predicate(report: AttributeValue) -> bool:
3232
if report.attribute != attribute_id:
3333
return False
3434

src/python_testing/TC_AVSM_2_3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ async def test_TC_AVSM_2_3(self):
189189

190190
self.step(7)
191191
if aHardwareEncoder:
192-
expected_wmark = None if aWmark is None else not aWmark,
193-
expected_osd = None if aOSD is None else not aOSD,
192+
expected_wmark = None if aWmark is None else not aWmark
193+
expected_osd = None if aOSD is None else not aOSD
194194
sub_handler.await_all_expected_report_matches(expected_matchers=[wmark_osd_matcher(
195195
attr.AllocatedSnapshotStreams, expected_wmark, expected_osd, wmarkSupport, osdSupport)], timeout_sec=20)
196196

0 commit comments

Comments
 (0)