Asserts

Latest version: v0.13.1

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

Scan your dependencies

Page 2 of 4

0.9.1

Changed

- `AssertRaisesContext` and sub-classes are now generic over the
exception type.

0.9.0

Added

- Add `assert_json_subset()`.

0.8.6

Added

- Add support for Python 3.7 (contributed by Frank Niessink).

0.8.5

Added

- Add `assert_dict_equal()`.
- Add `assert_dict_superset()`.

Changed

- `assert_equal()`: Use `assert_dict_equal()` if applicable.

0.8.4

Changed

- `fail()` is now marked with `NoReturn` in type stub.

Fixed

- Improve type annotations for Python 2.

0.8.3

Fixed

- Fix type signature of `AssertRaisesContext.__exit__()`.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.