Merge pull request #168 from tkf/norecursedirs

Run doctests in the "main" py.test run
This commit is contained in:
David Halter
2013-03-14 12:09:57 -07:00
3 changed files with 5 additions and 4 deletions

1
conftest.py Normal file
View File

@@ -0,0 +1 @@
collect_ignore = ["setup.py"]

View File

@@ -1,5 +1,8 @@
[pytest]
addopts = --assert=plain
addopts = --assert=plain --doctest-modules
# Ignore broken files in blackbox test directories
norecursedirs = .* docs completion refactor
# Activate `clean_jedi_cache` fixture for all tests. This should be
# fine as long as we are using `clean_jedi_cache` as a session scoped

View File

@@ -5,9 +5,6 @@ deps =
pytest
commands =
py.test []
# Doctests can't be run with the main tests because then py.test
# tries to import broken python files under test/*/.
py.test --doctest-modules {toxinidir}/jedi
[testenv:py25]
deps =
simplejson