We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3837c6d commit b18f082Copy full SHA for b18f082
pytest_cases/fixture_parametrize_plus.py
@@ -775,6 +775,10 @@ def _apply(test_func):
775
776
else:
777
# there are fixture references: we will create a specific decorator replacing the params with a "union" fixture
778
+ if indirect:
779
+ warn("Using `indirect=True` at the same time as fixture references in `@parametrize` is not guaranteed to "
780
+ "work and is strongly discouraged for readability reasons. See "
781
+ "https://github.com/smarie/python-pytest-cases/issues/150")
782
783
# First unset the pytest.param id we have set earlier in _process_argvalues: indeed it is only needed in
784
# the case above where we were defaulting to legacy @pytest.mark.parametrize .
0 commit comments