Pytest-check

Latest version: v2.4.1

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

Scan your dependencies

Page 4 of 7

1.2.1

Changed

- Remove colorama as a dependency, and simplify how we do "red".

- Change the formatting of context manager checks such that if a msg is included, we see both the message and the assert failure. Previoulsy, the message would replace the assert failure.

1.2.0

Added

- Add `any_failures()`. Thank you [alblasco](https://github.com/alblasco)

1.1.3

Fixed

- While using the `check` fixture, allow `check.check` as a context manager.
- this is unnecessary, the `check` fixture now works as a context manager.
- but apparently some people have been using `with check.check:`
- so this fix makes that work.

1.1.2

Added

- Allow `raises` from `check` object.
- Now `with check.raises(Exception):` works.

1.1.1

Changed

- README update

1.1.0

Added

- Red output in pseudo-traceback

Changed

- Refactored code into more modules
- All functionality now possible through `check` fixture or `from pytest_check import check`.
- The `check` object from either of these methods can be used as either a context manager or to access the check helper functions.
- Lots of rewrite in README

Deprecated
- API change.
- Access to check helper functions via `import pytest_check as check` is deprecated.
- It still works, but will be removed in a future version.
- However, there is no deprecation warning for this.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.