Releases: smarie/python-pytest-cases
Releases · smarie/python-pytest-cases
3.8.6 - compatibility fix
- Fixed issue with legacy python 2.7 and 3.5. Fixes #352.
See documentation page for details.
3.8.5 - Suppressed annoying warning with pytest 8
- Fixed
PytestRemovedIn9Warning: Marks applied to fixtures have no effect
. Fixed
#337
See documentation page for details.
3.8.4 - Removed debug logs
- Reverted
DEBUG
flag used for pytest 8 compatibility. Fixed
#336
See documentation page for details.
3.8.3 - Support for `pytest` version 8
See documentation page for details.
3.8.2 - bugfixes and project improvements
- Fixed issue with upcoming
pytest 8.1
release. PR
#322 by
@bluetech - Corrected API documentation (and comments) for the second file-name
pattern forAUTO
-cases lookup (cases_<name>.py
instead of
case_<name>.py
). PR #320
by @michele-riva. - Fixed
AssertionError
onAUTO
cases outside a 'normal' test module.
Fixes #309. PR
#320 by
@michele-riva. - Improved error message in case of cases loading error in
@parametrize_with_cases
when thecases
argument
is a string refering to a relative or absolute module name. Fixedimport file mismatch
with
pytest 8 when executing our own tests.
Fixes #323. - Fixed failing tests in our builds due to the
event_loop_policy
fixture that appeared inpytest-asyncio
0.23
.
Fixes part of
#321.
See documentation page for details.
3.8.1 - bugfixes
- Fixed
ScopeMismatch
with parametrized cases in non-trivial test
trees.scope
is now correctly handled for (i)fixture
cases, and
(ii) fixtures defined inconftest.py
files at any depth. Fixes
#311. PR
#317 by @michele-riva.
See documentation page for details.
3.8.0 - async, generators and strict-markers
3.7.0 - python 3.12
- Added official support for Python 3.10, 3.11 and 3.12. Fixes #314
- Fixed
ModuleNotFoundError: distutils
on Python 3.12 thanks topackaging
. PR
#312 by @jayqi. - Internal: switched to virtualenv backend.
See documentation page for details.
3.6.14 - bugfixes
- Fixed
AttributeError
issue inis_case_function
when an inspected symbol is a parametrized type hint
without__name__
. Fixes #287 - Fixed issue with
get_all_cases
: default value forcases
was wrong. Fixes #290
See documentation page for details.
3.6.13 - bugfix
- Fixed issue where a lazy value (for example a case function) was not resolved before being injected in a parametrized function, and was therefore appearing as a
_LazyValueCaseParamValue
. Fixed #274
See documentation page for details.