From 8baf6e6a72ef7e481124cb3a2e0669ed8ca9dbfe Mon Sep 17 00:00:00 2001 From: joncrall Date: Thu, 15 Aug 2019 22:11:28 -0400 Subject: [PATCH] Use xdoctest as doctest runner --- requirements-test.txt | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index c716b2f9..ea06248f 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -5,3 +5,4 @@ pytest-cov==2.5.1 tox==2.9.1 virtualenv==15.0.2 tox-virtualenv-no-download==1.0.2 +xdoctest==0.10.0 diff --git a/tox.ini b/tox.ini index a70437d4..27c0fae1 100644 --- a/tox.ini +++ b/tox.ini @@ -3,4 +3,4 @@ envlist = py26,py27,py34,py37,pypy [testenv] changedir = .tox deps = -rrequirements-test.txt -commands = py.test --doctest-modules {envsitepackagesdir}/boltons {toxinidir}/tests {posargs} +commands = py.test --xdoctest-modules {envsitepackagesdir}/boltons {toxinidir}/tests {posargs}