summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2022-10-24 08:19:55 -0700
committerAdam Hupp <adam@hupp.org>2022-10-24 08:32:31 -0700
commit05fde96b7c7feac611c1f2e7eb6bcf4b9ff933b9 (patch)
tree6c9e940078da9dad8ca8b8b0ef0b24db0cbf37f9
parentea2150d2a739dff8f182c32252c601b350f01f2c (diff)
downloadpython-magic-05fde96b7c7feac611c1f2e7eb6bcf4b9ff933b9.tar.gz
further update README for test running changes
-rw-r--r--README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index 7b85527..fb1bc0e 100644
--- a/README.md
+++ b/README.md
@@ -101,22 +101,23 @@ triage it.
## 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