Pytest-cases

Latest version: v3.8.5

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

Scan your dependencies

Page 1 of 18

3.8.5

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

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

3.8.4

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

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

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).

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

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).

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

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).

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

3.8.0

- `fixture` and `parametrize` are now async and generator aware. Fixes
[286](https://github.com/smarie/python-pytest-cases/issues/286). PR
[301](https://github.com/smarie/python-pytest-cases/pull/301) by [jgersti](https://github.com/jgersti).
- Fixed error with `pytest` `--strict-markers`. Fixes
[283](https://github.com/smarie/python-pytest-cases/issues/283). PR
[300](https://github.com/smarie/python-pytest-cases/pull/300) by [chrsmcgrr](https://github.com/chrsmcgrr).

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

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.