Releases: smarie/python-pytest-cases
Releases · smarie/python-pytest-cases
3.6.12 - type hint fix + enhanced compatibility with pytest plugins
- Improved compatibility with other
pytest
plugins, in particularpytest-repeat
, by supporting removal from fixture closure tree. Fixed #269. - Fixed type hint errors detected by
pyright
. Fixed #270
See documentation page for details.
3.6.11 - bugfix for pytest-xdist and `get_all_cases` API improvement
get_all_cases
can now be called withoutparametrization_target
(defaulting to the caller module), and with an explicit module object. Fixed #258. PR #260 by @eddiebergman.- Fixed
AttributeError
: module 'pytest_cases' has no attribute 'CasesCollectionWarning' when runningpytest-xdist
and at least one cases class is ignored because of__init__
or__new__
. Fixed #249.
See documentation page for details.
3.6.10 - bugfix for pytest 7.1
- Fixed
ImportError
when usingpytest 7.1
. Fixed #264 and pytest-dev#9762.
See documentation page for details.
3.6.9 - Bugfix with pytest 7
See documentation page for details.
3.6.8 - Bugfix: support for multiprocessing Pool
- Suppressed warnings in our own tests, to improve packaging maintenance. Fixed #248
- Fixed bug where setting
ids
in@parametrize
without setting explicitlyidgen=None
would raise aValueError
. Fixed #238. - Fixed bug where case-holding class marks were not propagated to static methods and class methods. Fixed #246
- Fixed support for multiprocessing
Pool
. Fixes #242
See documentation page for details.
3.6.7 - Minor improvements and preparing for pytest 7
- Improved error message when a case function nested in a class has no
self
argument and is not static. Fixes #243 - Added support for the new Scopes enum in pytest 7. Fixed #241
- Fixed
__version__
in development mode.
See documentation page for details.
3.6.5 - Bugfix
- Fixed an issue where using keyword
argnames
in@pytest.mark.parametrize
would causeIndexError: tuple index out of range
in the tests collection phase. Fixed #234.
See documentation page for details.
3.6.4 - Bugfix
- A case id can now be a reserved keyword without triggering any
SyntaxError
, even if the case is transformed into a fixture. Fixes #230
See documentation page for details.
3.6.3 - Bugfix
- Fixed an issue where a lazy value would not be resolved. This happens when the "auto-simplify fixture" happens in
@parametrize
. Fixes #225
See documentation page for details.
3.6.2 - Qualimetry
- Fixed most
flake8
errors and updated documentation to usegenbadge
. Fixes #223
See documentation page for details.