Sponsor:

Your company here, and a link to your site. Click to find out more.

Package python3-pynose

pynose fixes nose to extend unittest and make testing easier 🐍 👃

https://github.com/mdmintz/pynose

pynose is an updated version of nose, originally made by Jason Pellerin.

This version of nose is compatible with Python 3.7+ (including 3.13+).

Changes in pynose from legacy nose include:

- 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.

Version: 1.5.1

General Commands

nosetests alias for nosetests-3.12
nosetests-3 alias for nosetests-3.12
pynose manual page for pynose version 1.5.1