From ba4948a6c54246ab6b5a5792892f8af793d9dccc Mon Sep 17 00:00:00 2001 From: Michael Boulton Date: Tue, 26 Dec 2023 10:23:11 +0000 Subject: [PATCH] Fix type --- tavern/_core/pytest/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tavern/_core/pytest/item.py b/tavern/_core/pytest/item.py index 6d98702e..949635bc 100644 --- a/tavern/_core/pytest/item.py +++ b/tavern/_core/pytest/item.py @@ -127,7 +127,7 @@ def add_markers(self, pytest_marks: Iterable[MarkDecorator]) -> None: if isinstance(pm.mark.args[0], (list, tuple)): new_mark = Mark( name=pm.mark.name, - args=pm.mark.args[0], + args=tuple(pm.mark.args[0]), kwargs=pm.mark.kwargs, param_ids_from=pm.mark._param_ids_from, param_ids_generated=pm.mark._param_ids_generated,