Tests parametrized with a generator expression are not collecting as expected in an inherited test class #5739
Labels
topic: collection
related to the collection phase
topic: parametrize
related to @pytest.mark.parametrize
type: enhancement
new feature or API change, should be merged into features branch
The following tests
are collected as
where as the desired collection result is
Explicitly converting the generator expression into a list yields the expected result.
Pytest-related packages
I can reproduce this problem with Python 3.6.8 on CentOS and Python 3.7.0 on MacOS.
The text was updated successfully, but these errors were encountered: