Skip to content

Commit 0f3b606

Browse files
committed
Run doctests through pytest
1 parent 842b025 commit 0f3b606

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pytest.ini

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
addopts = --doctest-glob='*.rst'

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ commands =
1616
pip install scikit-learn --no-index
1717
python setup.py develop
1818
flake8 tests
19-
py.test
20-
python -m doctest README.rst
19+
py.test

0 commit comments

Comments
 (0)