This package browser is in early development. Mind the rough edges.

python-pynose

Unittest framework for Python

pynose is a maintained successor of deprecated nose unittest runner. Changes over nose:

  • fixes AttributeError: module 'collections' has no attribute 'Callable'

  • fixes AttributeError: module 'inspect' has no attribute 'getargspec'

  • fixes ImportError: cannot import name '_TextTestResult' from 'unittest'

  • fixes RuntimeWarning: TestResult has no addDuration method

  • fixes DeprecationWarning: pkg_resources is deprecated as an API

  • fixes all flake8 issues from the original nose

  • replaces the imp module with the newer importlib module

  • the default logging level now hides INFO logs for less noise

  • adds --capture-logs for hiding output from all logging levels

  • adds --logging-init to use logging.basicConfig(level)

  • the -s option is always active to see the output of print()

  • adds --capture-output for hiding the output of print()

  • adds --co as a shortcut to using --collect-only

Installation

Install the latest version of python-pynose as follows:

guix install python-pynose

Or install a particular version:

guix install python-pynose@1.5.5

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of python-pynose about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/python-pynose'><img src='https://packages.guix.gnu.org/packages/python-pynose/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/python-pynose/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/python-pynose)

Example Org:

[[https://packages.guix.gnu.org/packages/python-pynose][https://packages.guix.gnu.org/packages/python-pynose/badges/latest-version.svg]]