Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: assertpy/assertpy

v1.1

19 Jul 14:14

Choose a tag to compare

  • hide verbose traceback messages in pytest (#100)
  • fixup dict equality when including/ignoring deeply nested keys (#101)
  • fixup dynamic dict assertions when key are dict methods (#105)
  • dict equality errors now sort the keys in the error message (cf2f7d5)
  • fixup docs
    • fixup readme typo (#102)
    • docs for dict equality with nested keys (88877a1)
    • write docs for how to generate sphinx docs (2fbd42a)
    • add sphinx Note section to snapshot docs (8fe8eff)

v1.0

14 Dec 21:04

Choose a tag to compare

v0.15

30 Oct 04:12

Choose a tag to compare

  • 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)
  • 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

16 Sep 18:48

Choose a tag to compare

  • add is_not_close_to() and is_not_between() (#82)
  • new include flag when comparing dicts with is_equal_to() (#79)
  • add file does_not_exist() (#78)
  • update docs, including how regex inline flags work (#80)

v0.13

27 Jan 22:48

Choose a tag to compare

  • snapshot testing (#74, docs)
  • much improved and actually useful is_equal_to() failure message when testing dicts (#75)
  • drop Python 2.6 support (#76)
  • bug fixes (#77)
  • support for confa-forge packaging (#73)

v0.12

20 Nov 00:02

Choose a tag to compare

  • 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 with filter and sort (#71, docs)
  • cleanup internals

v0.11

28 Aug 03:32

Choose a tag to compare

  • support Python 3.6 (#62)
  • correct support for metaclass testing with is_type_of() (#57)
  • better failure with fail() (#58)
  • new soft_fail() assertion (#59)

v0.10

31 Jul 15:50

Choose a tag to compare

  • API Breakage! rename assert_soft() to assert_warn() (commit 9983b3a)
  • new is_subset_of() assertion (#48)
  • extend is_subset_of() to work with dicts (#50, PR #51)
  • support ABC Metaclass in is_type_of() and is_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

23 Mar 18:43

Choose a tag to compare

  • API Breakage! rename extract() helper to extracting() (#42)
  • new expected exceptions using raises() and when_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() and end_with() work with collections (#24)
  • new soft assertions print warning message instead of raising AssertionError

v0.8

24 Mar 18:54

Choose a tag to compare

  • single codebase with support for Python 2.6, 2.7, 3.3, 3.4 (#36)
  • added contains_ignoring_case() (#37)
  • added custom error messages via described_as() (#35)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.