mirror of
https://github.com/edgewall/genshi.git
synced 2026-02-05 06:45:30 +01:00
* Move tests into modules prefixed with test_ so that pytest can locate them. * Fix missing imports for doctests in genshi.filters.transforms. * Add pytest configuration. * Rename test_utils to utils so that it is not considered a test module by pytest. * Rename test_util_x to test_util. * Replace 'is' and 'is not' checks on ints with ones on bools to silence SyntaxWarning. * Run tests with pytest. * Set pytest options for CI. * Add setuptools to tox (it supplies pkg_resources for tests. * Install genshi before trying to run pytest. * Add missing parenthesises to matrix pytest-extra-options value. * Customize pytest options for Python 2.7. * Ignore Expression deprecation warning on Python 3.13. * Remove pypy2 and Python 3.13 from matrix so that they can be added via include. * Add ALLOW_UNICODE flag to hopefully support Python 2.7 docstests. * Expand astutil warning exclusion for Python 3.13. * Expand warning exclusion for Python 3.13 further.
11 lines
169 B
INI
11 lines
169 B
INI
[tox]
|
|
envlist = py27,py36,py37,py38,py39,py310,py311,py312,pypy,pypy3
|
|
[testenv]
|
|
deps=
|
|
setuptools
|
|
pytest
|
|
setenv=
|
|
PYTHONHASHSEED=0
|
|
commands=
|
|
pytest genshi
|