Skip to content

Commit f0be3b8

Browse files
author
Sylvain MARIE
committed
Docstring edit
1 parent 8966ce7 commit f0be3b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pytest_cases/fixture_core1_unions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ def __str__(self):
115115
def is_fixture_union_params(params):
116116
"""
117117
Internal helper to quickly check if a bunch of parameters correspond to a union fixture.
118+
119+
Note: unfortunately `pytest` transform all params to a list when a @pytest.fixture is created,
120+
so we can not pass a subclass of list to do the trick, we really have to work on the list elements.
118121
:param params:
119122
:return:
120123
"""

0 commit comments

Comments
 (0)