Doctest is horrible.

This commit is contained in:
Julian Berman 2013-02-17 09:34:50 -05:00
parent 782ab62acb
commit 565dbcb32b
2 changed files with 5 additions and 1 deletions

View File

@ -459,7 +459,7 @@ class FormatChecker(object):
can be used to limit which formats will be used
during validation.
>>> checker = FormatChecker(formats=("uri", "regex"))
>>> checker = FormatChecker(formats=("date", "regex"))
"""

View File

@ -19,6 +19,10 @@ commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:py26]
commands =
nosetests -s tests.py
{envpython} -m doctest README.rst
{envpython} -m doctest jsonschema.py
deps =
{[testenv:notpy33]deps}
{[testenv:all]deps}