Skip to content

Commit

Permalink
Ignore false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jan 18, 2024
1 parent 35c40c6 commit 6dc69fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tavern/_core/pytest/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def add_markers(self, pytest_marks: Iterable[MarkDecorator]) -> None:
_ispytest=True,
)

pm = dataclasses.replace(pm, mark=new_mark, _ispytest=True)
pm = dataclasses.replace(pm, mark=new_mark, _ispytest=True) # type:ignore
elif isinstance(pm.mark.args[0], (dict,)):
# We could raise a TypeError here instead, but then it's a
# failure at collection time (which is a bit annoying to
Expand Down

0 comments on commit 6dc69fe

Please sign in to comment.