bhyve-fw: drop CSM
[oi-userland.git] / components / python / natsort / patches / 01-tox-proto.patch
blob8c5c8915466eb6d56cef080dec24b318b236d7c0
1 We need to test natsort in proto area. Currently PYTHONPATH points there.
3 --- natsort-8.3.1/tox.ini.orig
4 +++ natsort-8.3.1/tox.ini
5 @@ -31,9 +31,9 @@
6 # Doctests
7 {envpython} -m doctest -o IGNORE_EXCEPTION_DETAIL docs/howitworks.rst
8 pytest README.rst docs/examples.rst
9 - pytest --doctest-modules {envsitepackagesdir}/natsort
10 + pytest --doctest-modules {env:PYTHONPATH}/natsort
11 # Full test suite. Allow the user to pass command-line objects.
12 - pytest --hypothesis-profile=slow-tests --tb=short --cov {envsitepackagesdir}/natsort --cov-report term-missing {posargs:}
13 + pytest --hypothesis-profile=slow-tests --tb=short --cov {env:PYTHONPATH}/natsort --cov-report term-missing {posargs:}
15 # Check code quality.
16 [testenv:flake8]