Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtopt-0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtopt-0.1-py2.4.egg (5.9 kB view details)

Uploaded Egg

File details

Details for the file dtopt-0.1.tar.gz.

File metadata

  • Download URL: dtopt-0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dtopt-0.1.tar.gz
Algorithm Hash digest
SHA256 06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f
MD5 9a41317149e926fcc408086aedee6bab
BLAKE2b-256 ba2ce012086b9f515110a31bbd3e78a509e2b968e0f6808d219c178c5ae697f7

See more details on using hashes here.

File details

Details for the file dtopt-0.1-py2.4.egg.

File metadata

  • Download URL: dtopt-0.1-py2.4.egg
  • Upload date:
  • Size: 5.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dtopt-0.1-py2.4.egg
Algorithm Hash digest
SHA256 7f44059d80139ddc4049e322c9877f8a0b545655633125a023d5e2f4849d2df0
MD5 c87c2375445c62fd7eac1c0be35432d6
BLAKE2b-256 35e70c90cf7c605ca00f5d385958c993aaa3ecfff6ca756c199a39dd297bf11d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page