Zope.testrunner

Latest version: v7.2

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

Scan your dependencies

Page 3 of 10

6.2

================

- Add support for Python 3.12.

- Update code and tests to ``python-subunit >= 1.4.3`` thus requiring at least
this version.

6.1

================

- Add preliminary support for Python 3.12b4.
(`149 <https://github.com/zopefoundation/zope.testrunner/issues/149>`_)

6.0

================

- Drop support for Python 2.7, 3.5, 3.6.

5.6

================

- Add support for Python 3.11.

- Inline a small part of ``random.Random.shuffle`` which was deprecated in
Python 3.9 and removed in 3.11 (`119
<https://github.com/zopefoundation/zope.testrunner/issues/119>`_).

- Don't trigger post mortem debugger for skipped tests. ( `141
<https://github.com/zopefoundation/zope.testrunner/issues/141>`_).

5.5.1

==================

- Fix: let ``--at-level=level`` with ``level <= 0`` run the tests
at all levels (rather than at no level)
`138 <https://github.com/zopefoundation/zope.testrunner/issues/138>`_.

5.5

================

- Use ``sys._current_frames`` (rather than ``threading.enumerate``)
as base for new thread detection, fixes
`130 <https://github.com/zopefoundation/zope.testrunner/issues/130>`_.

- New option ``--gc-after-test``. It calls for a garbage collection
after each test and can be used to track down ``ResourceWarning``s
and cyclic garbage.
With ``rv = gc.collect()``, ``!`` is output on verbosity level 1 when
``rv`` is non zero (i.e. when cyclic structures have been released),
``[``*rv*``]`` on higher verbosity levels and
a detailed cyclic garbage analysis on verbosity level 4+.
For details, see
`133 <https://github.com/zopefoundation/zope.testrunner/pull/133>`_.

- Allow the filename for the logging configuration to be specified
via the envvar ``ZOPE_TESTRUNNER_LOG_INI``.
If not defined, the configuration continues to be locked for
in file ``log.ini`` of the current working directory.
Remember the logging configuration file in envvar
``ZOPE_TESTRUNNER_LOG_INI`` to allow spawned child processes
to recreate the logging configuration.
For details, see
`134 <https://github.com/zopefoundation/zope.testrunner/pull/134>`_.

Page 3 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.