Add options to doctest examples while they are running
22.92 KB
built 2026-10-17 09:00:27 GMT
Description
dtopts adds options to doctest examples while they are running. When
using the doctest module it is often convenient to use the ELLIPSIS
option, which allows you to use ... as a wildcard. But you either have
to setup the test runner to use this option, or you must put #doctest:
+ELLIPSIS on every example that uses this feature. dtopt lets you enable
this option globally from within a doctest, by doing:
>>> from dtopt import ELLIPSIS
Dependencies
5 totalRequires4
- python3-devel
- python3-setuptools
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- python3-dtopt = 0.1-58.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| dtopt-0.1.tar.gz | 3.13 KB |
| python-dtopt.spec | 9.56 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
