Fedora Packages

python3-pytest-doctestplus Subpackage of python-pytest-doctestplus

Pytest plugin with advanced doctest features

The doctestplus plugin provides advanced features for testing example Python code that is included in Python docstrings and in standalone documentation files. Good documentation for developers contains example code. This is true of both standalone documentation and of documentation that is integrated with the code itself. Python provides a mechanism for testing code snippets that are provided in Python docstrings. The unit test framework pytest provides a mechanism for running doctests against both docstrings in source code and in standalone documentation files. This plugin augments the functionality provided by Python and pytest by providing the following features: * approximate floating point comparison for doctests that produce floating point results * skipping particular classes, methods, and functions when running doctests * handling doctests that use remote data in conjunction with the pytest-remotedata plugin * optional inclusion of *.rst files for doctests

Releases Overview

Release Stable Testing
Fedora Rawhide 1.2.1-1.fc41 -
Fedora 40 1.2.1-1.fc40 1.2.1-1.fc40
Fedora 39 0.12.0-4.fc39 -
Fedora 38 0.12.0-2.fc38 -
EPEL 8 0.5.0-1.el8 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at python-pytest-doctestplus dash maintainers at fedoraproject dot org.



Sources on Pagure