Nose3

Latest version: v1.3.8

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

Scan your dependencies

Page 7 of 9

0.8.7

- Add support for py.test-style test generators. Thanks to Jay Parlar for
the suggestion.
- Fix bug in doctest discovery. Thanks to Richard Cooper for the bug report.
- Fix bug in output capture being appended to later exceptions. Thanks to
Titus Brown for the patch that uncovered the bug.
- Fix bug(?) in Exception patch that caused masked hasattr/__getattr__ loops
to either become actual infinite loops, or at least take so long to finally
error out that they might as well be infinite.
- Add -m option to restrict test running to only tests in a particular package
or module. Like the -f option, -m does not restrict test *loading*, only
test *execution*.
- When loading and running a test module, ensure that the module's path is in
sys.path for the duration of the run, not just while importing the module.
- Add id() method to all callable test classes, for greater unittest
compatibility.

0.8.6

- Fix bug with coverage output when sys.modules contains entries without
__file__ attributes
- Added -p (--cover-packages) switch that may be used to restrict coverage
report to modules in the indicated package(s)

0.8.5

- Output capture and verbose assertion errors now work when run like
'python setup.py test', as advertised.
- Code coverage improvements: now coverage will be output for all modules
imported by any means that were not in sys.modules at the start of the test
run. By default, test modules will be excluded from the coverage report, but
you can include them with the -t (--cover-tests) option.

0.8.4

- Fix bugs in handling of setup/teardown fixtures that could cause TypeError
exceptions in fixtures to be silently ignored, or multiple fixtures of the
same type to run. Thanks to Titus Brown for the bug report.

0.8.3

- Add -V (--version) switch to nosetests
- Fix bug where sys.path would not be set up correctly when running some
tests, producing spurious import errors (Thanks to Titus Brown and Mike
Thomson for the bug reports)
- For test classses not derived from unittest.TestCase, output (module.Class)
"doc string" as test description, when method doc string is available
(Thanks to David Keeney for the suggestion, even if this isn't quite what he
meant)

0.8.2

- Revise import to bypass sys.path and manipulate sys.modules more
intelligently, ensuring that the test module we think we are loading is the
module we actually load, and that modules loaded by other imports are not
reloaded without cause
- Allow test directories inside of packages. Formerly directories matching
testMatch but lacking an __init__.py would cause an ImportError when located
inside of packages
- Fix bugs in different handling of -f switch in combination with -w and -o

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.