Skip to content

Commit 122cf60

Browse files
Sup3rGeonicoddemus
andauthored
Always creating list for consistency.
Co-Authored-By: Bruno Oliveira <[email protected]>
1 parent 63e3d89 commit 122cf60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ def fixture(
11131113
``fixture_<fixturename>`` and then use
11141114
``@pytest.fixture(name='<fixturename>')``.
11151115
"""
1116-
if params is not None and not isinstance(params, (list, tuple)):
1116+
if params is not None:
11171117
params = list(params)
11181118

11191119
fixture_function, arguments = _parse_fixture_args(

0 commit comments

Comments
 (0)