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
(The options NORMALIZE_WHITESPACE and COMPARE are also available)
You can install this from the subversion repository with easy_install dtopt==dev.
Metadata
Release files for dtopt 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dtopt-0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dtopt-0.1-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 9.1 kB
Release files / dtopt-0.1.tar.gz
| Download URL | dtopt-0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f
|
|
BLAKE2b-256 checksum How to use checksums |
ba2ce012086b9f515110a31bbd3e78a509e2b968e0f6808d219c178c5ae697f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dtopt-0.1-py2.4.egg
| Download URL | dtopt-0.1-py2.4.egg |
|---|---|
| Size | 5.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
7f44059d80139ddc4049e322c9877f8a0b545655633125a023d5e2f4849d2df0
|
|
BLAKE2b-256 checksum How to use checksums |
35e70c90cf7c605ca00f5d385958c993aaa3ecfff6ca756c199a39dd297bf11d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |