Skip to content

tests\cases\issues\test_issue_269.py raises ValueError during collection #302

Open
@jgersti

Description

@jgersti

tests\cases\issues\test_issue_269.py throws an exception during collection in most test environments with the following trace (modulo the env name)

.nox\tests-3-9-env-pytest-latest\lib\site-packages\pluggy\_hooks.py:433: in __call__
     return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\pluggy\_manager.py:112: in _hookexec
     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\_pytest\python.py:271: in pytest_pycollect_makeitem
     return list(collector._genfunctions(name, obj))
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\_pytest\python.py:498: in _genfunctions
     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\pluggy\_hooks.py:489: in call_extra
     return self._hookexec(self.name, hookimpls, kwargs, firstresult)
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\pluggy\_manager.py:112: in _hookexec
     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\_pytest\fixtures.py:1577: in pytest_generate_tests
     metafunc.parametrize(
 .nox\tests-3-9-env-pytest-latest\lib\site-packages\pytest_cases\plugin.py:910: in parametrize
     raise ValueError("This should not happen - please file an issue")
 E   ValueError: This should not happen - please file an issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions