1
0
forked from VimPlug/jedi

Run doctests in the main py.test run

This commit is contained in:
Takafumi Arakaki
2013-03-14 14:15:00 +01:00
parent 25d55d4124
commit fbccdd3f70
2 changed files with 4 additions and 4 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
[pytest] [pytest]
addopts = --assert=plain addopts = --assert=plain --doctest-modules
# Ignore broken files in blackbox test directories
norecursedirs = .* completion refactor
# Activate `clean_jedi_cache` fixture for all tests. This should be # 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 # fine as long as we are using `clean_jedi_cache` as a session scoped
-3
View File
@@ -5,9 +5,6 @@ deps =
pytest pytest
commands = commands =
py.test [] 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] [testenv:py25]
deps = deps =
simplejson simplejson