1
0

0.4.27-7-g05fde96.further-update-readme-for-test-running-changes.patch 1021 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. Subject: Further update README for test running changes
  2. Origin: upstream, commit 0.4.27-7-g05fde96 <https://github.com/ahupp/python-magic/commit/0.4.27-7-g05fde96>
  3. Author: Adam Hupp <adam@hupp.org>
  4. Date: Mon Oct 24 08:19:55 2022 -0700
  5. Forwarded: not-needed
  6. --- a/README.md
  7. +++ b/README.md
  8. @@ -101,22 +101,23 @@
  9. ## Running the tests
  10. -To run the tests across a variety of linux distributions (depends on Docker):
  11. +We use the `tox` test runner which can be installed with `python -m pip install tox`.
  12. +
  13. +To run tests locally across all available python versions:
  14. ```
  15. -./test_docker.sh
  16. +python -m tox
  17. ```
  18. -To run tests locally across all available python versions:
  19. +Or to run just against a single version:
  20. ```
  21. -./test/run.py
  22. +python -m tox py
  23. ```
  24. -
  25. -To run against a specific python version:
  26. +To run the tests across a variety of linux distributions (depends on Docker):
  27. ```
  28. -LC_ALL=en_US.UTF-8 python3 test/python_magic_test.py
  29. +./test/run_all_docker_test.sh
  30. ```
  31. ## libmagic python API compatibility