Doctest is horrible.
This commit is contained in:
parent
782ab62acb
commit
565dbcb32b
|
@ -459,7 +459,7 @@ class FormatChecker(object):
|
||||||
can be used to limit which formats will be used
|
can be used to limit which formats will be used
|
||||||
during validation.
|
during validation.
|
||||||
|
|
||||||
>>> checker = FormatChecker(formats=("uri", "regex"))
|
>>> checker = FormatChecker(formats=("date", "regex"))
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -19,6 +19,10 @@ commands =
|
||||||
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
|
commands =
|
||||||
|
nosetests -s tests.py
|
||||||
|
{envpython} -m doctest README.rst
|
||||||
|
{envpython} -m doctest jsonschema.py
|
||||||
deps =
|
deps =
|
||||||
{[testenv:notpy33]deps}
|
{[testenv:notpy33]deps}
|
||||||
{[testenv:all]deps}
|
{[testenv:all]deps}
|
||||||
|
|
Loading…
Reference in New Issue