Pytest-cases

Latest version: v3.8.6

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

Scan your dependencies

Page 1 of 20

3.8.6

- Fixed issue with legacy python 2.7 and 3.5. Fixes [352](https://github.com/smarie/python-pytest-cases/issues/352).

3.8.5

- Fixed `PytestRemovedIn9Warning: Marks applied to fixtures have no effect`. Fixed
[337](https://github.com/smarie/python-pytest-cases/issues/337)

3.8.4

- Reverted `DEBUG` flag used for pytest 8 compatibility. Fixed
[336](https://github.com/smarie/python-pytest-cases/issues/336)

3.8.3

- Fixed compliance with pytest 8. Fixed [330](https://github.com/smarie/python-pytest-cases/issues/330). PR
[335](https://github.com/smarie/python-pytest-cases/pull/335) by [smarie](https://github.com/smarie) and
[larsoner](https://github.com/larsoner).

3.8.2

- Fixed issue with upcoming `pytest 8.1` release. PR
[322](https://github.com/smarie/python-pytest-cases/pull/322) by
[bluetech](https://github.com/bluetech)
- Corrected API documentation (and comments) for the second file-name
pattern for `AUTO`-cases lookup (`cases_<name>.py` instead of
`case_<name>.py`). PR [320](https://github.com/smarie/python-pytest-cases/pull/320)
by [michele-riva](https://github.com/michele-riva).
- Fixed `AssertionError` on `AUTO` cases outside a 'normal' test module.
Fixes [309](https://github.com/smarie/python-pytest-cases/issues/309). PR
[320](https://github.com/smarie/python-pytest-cases/pull/320) by
[michele-riva](https://github.com/michele-riva).
- Improved error message in case of cases loading error in `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](https://github.com/smarie/python-pytest-cases/issues/323).
- Fixed failing tests in our builds due to the `event_loop_policy` fixture that appeared in `pytest-asyncio` `0.23`.
Fixes part of
[321](https://github.com/smarie/python-pytest-cases/issues/321).

3.8.1

- Fixed `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](https://github.com/smarie/python-pytest-cases/issues/311). PR
[317](https://github.com/smarie/python-pytest-cases/pull/317) by [michele-riva](https://github.com/michele-riva).

Page 1 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.