We already run tests against the installed tree. --- wcwidth-0.9.5/tox.ini.orig +++ wcwidth-0.9.5/tox.ini @@ -104,13 +104,6 @@ deps = pip-tools commands = {[base]pip_compile_command} requirements-wheels.in -o requirements-wheels.txt -[testenv:py{39,310,311,312,313,314,315}] -# 'python -m pytest' places the current directory at the head of sys.path, so a run started from -# the repository root imports wcwidth/ from the source tree rather than from the installed package, -# where the extension lives. Build it in-place, so that extension mode exercises C instead of -# silently falling back to Python. The 'py??-python' environments below need no such build. -commands_pre = {envpython} setup.py build_ext --inplace - [testenv:py39-python] deps = -r requirements-tests39.txt setenv = TERM=