Nose

Latest version: v1.3.7

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

0.6

- New nosetests script
- Allow specification of names on command line that are loadable but not
directly loadable as modules (eg nosetests -o path/to/tests.py)
- Add optional py.test-like assert introspection. Thanks to Kevin Dangoor
for the suggestion.
- Improvements to selftest

0.5.1

- Increased compatibility with python 2.3 (and maybe earlier)
- Increased compatibility with tests written for py.test: now calls
module.setup_module(module) if module.setup_module() fails


Changes:

* Use options() instead of add_options()

* addSkip() and addDeprecated() will not be called
- varied error classes, no more hard-coded error handlers
- check for error classes in addError instead

* addError() and addFailure() will not get capt or tb_info arguments
- these values are accessible in the test, if present.

* wantFile()
- optional package argument is never passed

New methods available:

* afterTest

* beforeTest

* describeTest

* formatError

* formatFailure

* handleError

* handleFailure

* prepareTestLoader

* prepareTestResult

* prepareTestRunner

* testName

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.