Pyhamcrest

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 5

3.5

Fix 128 - raises() grows support for additional matchers on exception object.

* Made has_properties() report all mismatches, not just the first.
* Silence warnings.
* Type fixes.
* Remove obsolete dependencies.

3.4

Fix 62 - Return result of a deferred call

2.7

2.0.3

------------------

Features
^^^^^^^^

- * Adds the tests to the sdist. Fixed by 150

`141 <https://github.com/hamcrest/PyHamcrest/issues/141>`_
- * Update the CI to test Python 3.10

`160 <https://github.com/hamcrest/PyHamcrest/issues/160>`_
- * Add pretty string representation for matchers objects

`170 <https://github.com/hamcrest/PyHamcrest/issues/170>`_


Bugfixes
^^^^^^^^

- Test coverage is now submitted to codecov.io.

Fixed by 150

`135 <https://github.com/hamcrest/PyHamcrest/issues/135>`_

- Change to the ``has_entry()`` matcher - if exactly one key matches, but the value does not, report only the mismatching value.

Fixed by 157

`156 <https://github.com/hamcrest/PyHamcrest/issues/156>`_
- * Fix is_() type annotations

`180 <https://github.com/hamcrest/PyHamcrest/issues/180>`_


Misc ^^^^

- `150 <https://github.com/hamcrest/PyHamcrest/issues/150>`_, `#159 <https://github.com/hamcrest/PyHamcrest/issues/159>`_, `#162 <https://github.com/hamcrest/PyHamcrest/issues/162>`_, `#163 <https://github.com/hamcrest/PyHamcrest/issues/163>`_, `#166 <https://github.com/hamcrest/PyHamcrest/issues/166>`_, `#175 <https://github.com/hamcrest/PyHamcrest/issues/175>`_

2.0.2

-------------

Various type hint bug fixes.

2.0.1

-------------

* Make hamcrest package PEP 561 compatible, i.e. supply type hints for external use.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.