Skip to main content
PyPI version Python versions See Build Status on GitHub Actions

A plugin to run only doctest tests


Features

  • Add --doctest-only to run only doctest tests

Installation

You can install “pytest-doctest-only” via pip from PyPI:

$ pip install pytest-doctest-only

Usage

Run pytest --doctest-only --doctest-modules NOTE if you don’t use --doctest-modules no doctest tests will be run.

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, “pytest-doctest-only” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for pytest-doctest-only 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-doctest-only 0.1.2
File Size Uploaded
pytest_doctest_only-0.1.2.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-doctest-only 0.1.2
File Interpreter ABI Platform
pytest_doctest_only-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / pytest_doctest_only-0.1.2.tar.gz

Download URL pytest_doctest_only-0.1.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8c39446b2086f0f6c9bdc5ac02d03c7a42efcd62fa9df1101bc2a2f1a2712e0
BLAKE2b-256 checksum
How to use checksums
8c09b7600a6cdffd270964e486d64f1246fb05406523e461b7dd6993aa0b13ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2025.

Transparency log

Release files / pytest_doctest_only-0.1.2-py3-none-any.whl

Download URL pytest_doctest_only-0.1.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a10b36577944e7645a9c9214595a35b094c951a79b97ab0fe178c2701dbb8e67
BLAKE2b-256 checksum
How to use checksums
c830e5ac1bb151936a234e5bfe3dc5648109b0638a0600a524720eb70f9d01e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page