mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Split test/requirements.txt into two different lists, one for py2, and the other for py3; update package versions in py3 list as needed to support py3.10. Fix usage of deprecated threading functions getName(), setName(), isDaemon(), and currentThread(). Refactor test_invalid_breakpoints to be more declarative to handle Python version differences more easily and clearly, and fix it for py3.10. Disable Django tests on py3.10 (#689). Disable gevent tests on py3.10 (#688).
17 lines
380 B
INI
17 lines
380 B
INI
[tox]
|
|
envlist = py{27,35,36,37,38,39,310}{,-cov}
|
|
|
|
[testenv]
|
|
deps = -rtests/requirements.txt
|
|
passenv = DEBUGPY_LOG_DIR DEBUGPY_TESTS_FULL TRAVIS
|
|
setenv =
|
|
DEBUGPY_TEST=1
|
|
commands =
|
|
!cov: pytest {posargs}
|
|
cov: pytest --cov --cov-append --cov-config=.coveragerc {posargs}
|
|
|
|
[testenv:py27]
|
|
deps = -rtests/requirements27.txt
|
|
|
|
[testenv:py35]
|
|
deps = -rtests/requirements35.txt
|