From ef6ea4c3189422c4f8140b7a2961366940fea077 Mon Sep 17 00:00:00 2001 From: Anes Benmerzoug Date: Mon, 14 Dec 2020 10:51:31 +0100 Subject: [PATCH] Convert the result of _getautousenames to a list --- pytest_cases/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_cases/plugin.py b/pytest_cases/plugin.py index c0284480..697f488b 100644 --- a/pytest_cases/plugin.py +++ b/pytest_cases/plugin.py @@ -647,7 +647,7 @@ def create_super_closure(fm, print("Creating closure for %s:" % parentid) # -- auto-use fixtures - _init_fixnames = fm._getautousenames(parentid) # noqa + _init_fixnames = list(fm._getautousenames(parentid)) # noqa def _merge(new_items, into_list): """ Appends items from `new_items` into `into_list`, only if they are not already there. """