Separate test code from test cases in pytest.
PytestRemovedIn9Warning: Marks applied to fixtures have no effect
. Fixed
#337
See documentation page for details.
DEBUG
flag used for pytest 8 compatibility. Fixed
#336
See documentation page for details.
See documentation page for details.
pytest 8.1
release. PR
#322 by
@bluetech
AUTO
-cases lookup (cases_<name>.py
instead of
case_<name>.py
). PR #320
by @michele-riva.AssertionError
on AUTO
cases outside a 'normal' test module.
Fixes #309. PR
#320 by
@michele-riva.@parametrize_with_cases
when the cases
argument
is a string refering to a relative or absolute module name. Fixed import file mismatch
with
pytest 8 when executing our own tests.
Fixes #323.event_loop_policy
fixture that appeared in pytest-asyncio
0.23
.
Fixes part of
#321.See documentation page for details.
ScopeMismatch
with parametrized cases in non-trivial test
trees. scope
is now correctly handled for (i) fixture
cases, and
(ii) fixtures defined in conftest.py
files at any depth. Fixes
#311. PR
#317 by @michele-riva.See documentation page for details.
ModuleNotFoundError: distutils
on Python 3.12 thanks to packaging
. PR
#312 by @jayqi.See documentation page for details.
AttributeError
issue in is_case_function
when an inspected symbol is a parametrized type hint
without __name__
. Fixes #287
get_all_cases
: default value for cases
was wrong. Fixes #290
See documentation page for details.
_LazyValueCaseParamValue
. Fixed #274
See documentation page for details.
pytest
plugins, in particular pytest-repeat
, by supporting removal from fixture closure tree. Fixed #269.pyright
. Fixed #270
See documentation page for details.