Name: | python-dtopt |
---|---|
Version: | 0.1 |
Release: | 13.el7 |
Architecture: | noarch |
Group: | System Environment/Libraries |
Size: | 9964 |
License: | MIT |
RPM: | python-dtopt-0.1-13.el7.noarch.rpm |
Source RPM: | python-dtopt-0.1-13.el7.src.rpm |
Build Date: | Thu May 08 2014 |
Build Host: | ca-buildj3.us.oracle.com |
Vendor: | Oracle America |
URL: | http://pypi.python.org/pypi/dtopt/ |
Summary: | Add options to doctest examples while they are running |
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 |