Releases: assertpy/assertpy
Releases · assertpy/assertpy
v1.1
v1.0
v0.15
- support Python 3.7 & 3.8 (#83, #98)
- enhance
extracting()with list extract by index (#81, d02b53e) - add kwargs support to
contains_entry()(#85) - fix deprecated
collections.Iterable(#90) - fix
is_subset_of()when invoked with 1-item arg (#93) - enhance
soft_assertions()context manager to be reentrant (#92, #94 8000 ) - massive refactor using mixin classes (#95)
- all new extension system to support user-defined assertions (#96)
- change
assert_warn()to log instead of print (#97) - doc improvements (#84, #91)
v0.14
v0.13
v0.12
- new numeric assertions
is_nan(),is_not_nan(),is_inf(),is_not_inf()(#66) - less verbose traceback when using
py.test(#67) - better
contains()failure messages, and less verbose (#68, 9474760) raises()assertion supports any callable (#70)- enhance
extracting()helper withfilterandsort(#71, docs) - cleanup internals
v0.11
v0.10
- API Breakage! rename
assert_soft()toassert_warn()(commit 9983b3a E3F6 tt>) - new
is_subset_of()assertion (#48) - extend
is_subset_of()to work with dicts (#50, PR #51) - support ABC Metaclass in
is_type_of()andis_instance_of()(#52) - dynamic attribute assertions for dicts (#49)
- new
contains_only()assertion (#54) - new correct impl of soft assertions using the
with soft_assertions():context manager (#53, PR #55) - updated docs
v0.9
- API Breakage! rename
extract()helper toextracting()(#42) - new expected exceptions using
raises()andwhen_called_with()syntax (#41) - new
is_iterable()assertion (#45) - support Python 3.5, drop support for Python 3.3 (#43)
- fix
extracting()helper so it can flatten a collection of dicts on key (#44) - loosen type checking for dict assertions (like
contains_key(),contains_value(), ..) to be merely dict-like (#46) - make
starts_with()andend_with()work with collections (#24) - new soft assertions print warning message instead of raising
AssertionError