NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4230 most downloaded on PyPI
Simple assertion library for unit testing in python with a fluent API
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.1 years
Nearly every release is documented
notes for 12 of 13 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
13 releases · first in 2015
hide verbose traceback messages in pytest
fixup code formatting to be PEP8
is_sorted() assertion (#99)One column per quarter.
fix deprecated collections.Iterable
extracting() with list extract by index (#81, d02b53e)contains_entry() (#85)collections.Iterable (#90)is_subset_of() when invoked with 1-item arg (#93)soft_assertions() context manager to be reentrant (#92, #94)assert_warn() to log instead of print (#97)add is_not_close_to() and is_not_between()
is_not_close_to() and is_not_between() (#82)include flag when comparing dicts with is_equal_to() (#79)does_not_exist() (#78)much improved and actually useful is_equal_to() failure message when testing dicts
is_equal_to() failure message when testing dicts (#75)new numeric assertions is_nan(), is_not_nan(), is_inf(), is_not_inf()
is_nan(), is_not_nan(), is_inf(), is_not_inf() (#66)py.test (#67)contains() failure messages, and less verbose (#68, 9474760)raises() assertion supports any callable (#70)extracting() helper with filter and sort (#71, docs)correct support for metaclass testing with is_type_of()
is_type_of() (#57)fail() (#58)soft_fail() assertion (#59)API Breakage! rename assert_soft() to assert_warn() (commit 9983b3a)
assert_soft() to assert_warn() (commit 9983b3a)is_subset_of() assertion (#48)is_subset_of() to work with dicts (#50, PR #51)is_type_of() and is_instance_of() (#52)contains_only() assertion (#54)with soft_assertions(): context manager (#53, PR #55)API Breakage! rename extract() helper to extracting()
extract() helper to extracting() (#42)raises() and when_called_with() syntax (#41)is_iterable() assertion (#45)extracting() helper so it can flatten a collection of dicts on key (#44)contains_key(), contains_value(), ..) to be merely dict-like (#46)starts_with() and end_with() work with collections (#24)AssertionErrorsingle codebase with support for Python 2.6, 2.7, 3.3, 3.4
contains_ignoring_case() (#37)described_as() (#35)added does_not_contain_key() and does_not_contain_value()
does_not_contain_entry() (#34)does_not_contain_key() and does_not_contain_value() (#33)numpy.float64 (#32)contains_duplicates() and does_not_contain_duplicates() (#31)is_not_in() (#29)is_in() (#28)is_zero() and is_not_zero() (#27)is_greater_than_or_equal_to() and is_less_than_or_equal_to() (#26)contains_sequence() (#25)is_positive() and is_negative() (#23)initial release on Anaconda Cloud (aka binstar)
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →