| 1234567891011121314151617181920212223242526272829303132333435363738 |
- Subject: Further update README for test running changes
- Origin: upstream, commit 0.4.27-7-g05fde96 <https://github.com/ahupp/python-magic/commit/0.4.27-7-g05fde96>
- Author: Adam Hupp <adam@hupp.org>
- Date: Mon Oct 24 08:19:55 2022 -0700
- --- a/README.md
- +++ b/README.md
- @@ -101,22 +101,23 @@
-
- ## Running the tests
-
- -To run the tests across a variety of linux distributions (depends on Docker):
- +We use the `tox` test runner which can be installed with `python -m pip install tox`.
- +
- +To run tests locally across all available python versions:
-
- ```
- -./test_docker.sh
- +python -m tox
- ```
-
- -To run tests locally across all available python versions:
- +Or to run just against a single version:
-
- ```
- -./test/run.py
- +python -m tox py
- ```
- -
- -To run against a specific python version:
- +To run the tests across a variety of linux distributions (depends on Docker):
-
- ```
- -LC_ALL=en_US.UTF-8 python3 test/python_magic_test.py
- +./test/run_all_docker_test.sh
- ```
-
- ## libmagic python API compatibility
|