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

python-pynose 1.5.5

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 python-pynose 1.5.5 as follows:

guix install python-pynose@1.5.5

Or install the latest version:

guix install python-pynose

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.