Skip to main content

standalone pythonic assertions

Project description

1.4.1 (2020-10-26)

  • assert_is_empty() and assert_is_not_empty() now consume generators if necessary

  • implement “assert_almost_now()”

  • stop testing Python 2.6/3.3 (support for these versions will be removed in the next release)

1.4.0 (2019-01-18)

  • implement “assert_is(expr1, expr2)” and “assert_is_not(expr1, expr2)”

  • implement “assert_path_exists()”, “assert_path_not_exists()”, “assert_file_exists()”, and “assert_file_not_exists()”

1.3.4 (2017-11-29)

  • prevent nosetests from running “skip_test” as an actual test case

1.3.3 (2017-09-20)

  • provide a PEP8 compliant “skip_test” (and export “skipTest” via “__all__”)

1.3.2 (2017-05-08)

  • assert_length() now consumes generators if this is necessary to get the length

1.3.1 (2016-09-26)

  • instruct test runners to suppress traceback lines from PythonicTestcase when displaying a test failure.

1.3.0 (2016-01-23)

  • export ‘SkipTest’ class via unittest (Python 2.7+), unittest2 or nose.plugins.skip

  • support for “@expect_failure” decorator. It works very similar to unittest’s “@expectedFailure”. However failing tests are reported as “skipped” not “passing” if the test runner does not support “expected failures” (such as nosetests 1.x).

1.2.2 (2016-01-20)

  • rename project to “PythonicTestcase” to workaround pip’s automatic replacement of underscores with dashes. This simplifies installation from a private index.

1.2.1 (2015-11-23)

  • fix: assert_raises does not catch some (expected) exceptions on Python 2.6

1.2.0 (16.11.2015)

  • implement assert_not_raises

1.1.0 (22.10.2015)

  • assert_raises can return a context manager

1.0.2 (07.10.2015)

  • fix sdist by including Changelog.txt

1.0.1 (07.10.2015)

  • use gpg signing for pypi release (no code changes)

1.0 (07.10.2015)

  • initial pypi release

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page