Name: | python-dtopt |
---|---|
Version: | 0.1 |
Release: | 6.el6 |
Architecture: | noarch |
Group: | System Environment/Libraries |
Size: | 9776 |
License: | MIT |
RPM: | python-dtopt-0.1-6.el6.noarch.rpm |
Source RPM: | python-dtopt-0.1-6.el6.src.rpm |
Build Date: | Mon May 10 2010 |
Build Host: | ca-build61.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 |