🔥 Drop the missing kwargs case

This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-06-21 22:09:45 +02:00 committed by GitHub
parent 329662e2ec
commit 75a2225ed1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -238,9 +238,6 @@ class MarkMatcher:
if not (matches := self.own_mark_name_mapping.get(name, [])):
return False
if not kwargs:
return True
for mark in matches:
if all(mark.kwargs.get(k, NOT_SET) == v for k, v in kwargs.items()):
return True