# HG changeset patch # User Anton Shestakov # Date 1590296864 -28800 # Node ID 3987ce7e9824c8c38da1f82a0c4fa2ce6d44b4f2 # Parent 8be20dec3aefe30aea5a99b32eeed4c9492d3aaa tests: actually use the correct python version for flake8/pyflakes diff -r 8be20dec3aef -r 3987ce7e9824 tests/test-check-flake8.t --- a/tests/test-check-flake8.t Sun May 24 13:02:48 2020 +0800 +++ b/tests/test-check-flake8.t Sun May 24 13:07:44 2020 +0800 @@ -17,4 +17,4 @@ $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ > -X hgext3rd/evolve/thirdparty \ > 2>/dev/null \ - > | xargs -0 flake8 + > | xargs -0 "$PYTHON" -m flake8 diff -r 8be20dec3aef -r 3987ce7e9824 tests/test-check-pyflakes.t --- a/tests/test-check-pyflakes.t Sun May 24 13:02:48 2020 +0800 +++ b/tests/test-check-pyflakes.t Sun May 24 13:07:44 2020 +0800 @@ -10,4 +10,4 @@ $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ > -X hgext3rd/evolve/thirdparty \ > 2>/dev/null \ - > | xargs -0 pyflakes 2>/dev/null + > | xargs -0 "$PYTHON" -m pyflakes 2>/dev/null