Pytest-cases

Latest version: v3.8.5

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 18

3.6.9

- Fixed `FrozenInstanceError` when using `pytest 7.0.0`. Fixed [251](https://github.com/smarie/python-pytest-cases/issues/251). [PR#253](https://github.com/smarie/python-pytest-cases/pull/253) by [jammer87](https://github.com/jammer87)

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog) for details.

3.6.8

- Suppressed warnings in our own tests, to improve packaging maintenance. Fixed [248](https://github.com/smarie/python-pytest-cases/issues/248)
- Fixed bug where setting `ids` in `parametrize` without setting explicitly `idgen=None` would raise a `ValueError`. Fixed [238](https://github.com/smarie/python-pytest-cases/issues/238).
- Fixed bug where case-holding class marks were not propagated to static methods and class methods. Fixed [246](https://github.com/smarie/python-pytest-cases/issues/246)
- Fixed support for multiprocessing `Pool`. Fixes [242](https://github.com/smarie/python-pytest-cases/issues/242)

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog) for details.

3.6.7

- Improved error message when a case function nested in a class has no `self` argument and is not static. Fixes [243](https://github.com/smarie/python-pytest-cases/issues/243)
- Added support for the new Scopes enum in pytest 7. Fixed [241](https://github.com/smarie/python-pytest-cases/issues/241)
- Fixed `__version__` in development mode.

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog) for details.

3.6.5

- Fixed an issue where using keyword `argnames` in `pytest.mark.parametrize` would cause `IndexError: tuple index out of range` in the tests collection phase. Fixed [234](https://github.com/smarie/python-pytest-cases/issues/234).

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog) for details.

3.6.4

- A case id can now be a reserved keyword without triggering any `SyntaxError`, even if the case is transformed into a fixture. Fixes [230](https://github.com/smarie/python-pytest-cases/issues/230)

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog.html) for details.

3.6.3

- Fixed an issue where a lazy value would not be resolved. This happens when the "auto-simplify fixture" happens in `parametrize`. Fixes [225](https://github.com/smarie/python-pytest-cases/issues/225)

See [documentation page](https://smarie.github.io/python-pytest-cases/changelog.html) for details.

Page 3 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.