Pytest-lambda

Latest version: v2.2.1

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

Scan your dependencies

Page 1 of 3

2.2.1

Changed
- Drop support for Python 3.7 (now EOL)
- Add support for Python 3.12
- Add support for pytest versions 8.0 and 8.1
- Relax pytest version pin to allow all versions under 9.x

2.2.0

Added
- Add `py.typed` file to package to enable mypy static type checking
- Expose minimal generic typing on `LambdaFixture`

Fixed
- Avoid crash when running under PyCharm/pydev debugger due to `LambdaFixture.__class__` property

2.1.0

Changed
- Preserve declared order of arguments with `wrap_fixture` (decorated method's first, then wrapped fixture's, then `request`)
- DOC: add destructuring examples to README

2.0.0

BREAKING
- Due to destructured parametrization now being powered by a custom `pytest_generate_tests` hook, incompatibilities may have been introduced. Out of caution, the major version has been bumped.

Added
- Add support for destructuring referential tuple lambda fixtures (e.g. `x, y, z = lambda_fixture('a', 'b', 'c')`)
- Add support for destructuring parametrized lambda fixtures (e.g. `a, b, c = lambda_fixture(params=[pytest.param('ayy', 'bee', 'see')])`)

1.3.0

Added
- Add support for async/awaitable fixtures

1.2.6

Changed
- Add support for pytest versions 7.0 and 7.1
- Relax pytest version pin to allow all versions under 8.x

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.