mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-26 15:21:09 +08:00
26 lines
620 B
INI
26 lines
620 B
INI
[tox]
|
|
envlist = py25, py26, py27, py32
|
|
[testenv]
|
|
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
|
|
unittest2
|
|
{[testenv]deps}
|
|
[testenv:py26]
|
|
deps =
|
|
unittest2
|
|
{[testenv]deps}
|
|
[testenv:py32]
|
|
# TODO: Without this setting, test uses ~/.cache/jedi/.
|
|
# There could be a bug due to import hack.
|
|
# See test_settings_module in test/test_regression.py.
|
|
setenv =
|
|
XDG_CACHE_HOME={envtmpdir}/cache
|