-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Thanks to pytest-dev/pytest#9415, we found out that pytest-cases
breaks with pytest 7.0.0rc1:
File "/home/florian/tmp/pytest-bisect/python-pytest-cases/src/pytest_cases/__init__.py", line 8, in <module>
from .fixture_core1_unions import fixture_union, NOT_USED, unpack_fixture, ignore_unused
File "/home/florian/tmp/pytest-bisect/python-pytest-cases/src/pytest_cases/fixture_core1_unions.py", line 26, in <module>
from .common_pytest import get_fixture_name, is_marked_parameter_value, get_marked_parameter_values, pytest_fixture, \
File "/home/florian/tmp/pytest-bisect/python-pytest-cases/src/pytest_cases/common_pytest.py", line 527, in <module>
from _pytest.python import scopes as pt_scopes, Metafunc # noqa
ImportError: cannot import name 'scopes' from '_pytest.python' (/home/florian/proj/pytest/src/_pytest/python.py)
this is due to this change: pytest-dev/pytest#8913 - looks like scopes are now an enum in a new scope.py.
Metadata
Metadata
Assignees
Labels
No labels