Skip to main content

standalone pythonic assertions

Project description

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PythonicTestcase, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size PythonicTestcase-1.4.0-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size PythonicTestcase-1.4.0.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page