Skip to content

Commit

Permalink
Add setting for doctest with py.test
Browse files Browse the repository at this point in the history
  • Loading branch information
shoma committed Sep 14, 2015
1 parent 03da5f6 commit 58b60b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://pytest.org/latest/example/pythoncollection.html
collect_ignore = ["setup.py"]
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ envlist = py26, py27, py33, py34
[testenv]
deps = pytest
mock
commands = py.test
commands = py.test --doctest-modules --doctest-ignore-import-errors

0 comments on commit 58b60b3

Please sign in to comment.