Skip to content

Commit ca2a843

Browse files
committed
Update tox.ini to test on Python 3.9 and 3.10
1 parent 5b7d1ee commit ca2a843

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

tox.ini

+35-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# for testing and it is disabled by default.
99

1010
[tox]
11-
envlist = lint, py27, py35, py36, py37, py38
11+
envlist = lint, py27, py35, py36, py37, py38, py39, py310
1212

1313
[testenv]
1414
commands = pytest -v --doctest-modules --ignore benchmark.py
@@ -97,6 +97,40 @@ deps =
9797
pandas
9898
wcwidth
9999

100+
101+
[testenv:py39]
102+
basepython = python3.9
103+
commands = pytest -v --doctest-modules --ignore benchmark.py
104+
deps =
105+
pytest
106+
107+
[testenv:py39-extra]
108+
basepython = python3.9
109+
commands = pytest -v --doctest-modules --ignore benchmark.py
110+
deps =
111+
pytest
112+
numpy
113+
pandas
114+
wcwidth
115+
116+
117+
[testenv:py310]
118+
basepython = python3.10
119+
commands = pytest -v --doctest-modules --ignore benchmark.py
120+
deps =
121+
pytest
122+
123+
[testenv:py310-extra]
124+
basepython = python3.10
125+
setenv = PYTHONDEVMODE = 1
126+
commands = pytest -v --doctest-modules --ignore benchmark.py
127+
deps =
128+
pytest
129+
numpy
130+
pandas
131+
wcwidth
132+
133+
100134
[flake8]
101135
max-complexity = 22
102136
max-line-length = 99

0 commit comments

Comments
 (0)