# HG changeset patch # User Anton Shestakov # Date 1590296568 -28800 # Node ID 2895b026ba88731877cc151979607ab895ded0ba # Parent e5406605d8f5eb14a51e15db03e5b1e23414120c tests: modernize test-check-pyflakes.t Using newer hg files instead of hg locate, using null bytes as separators, excluding thirdparty dir. Copied from test-check-flake8.t. diff -r e5406605d8f5 -r 2895b026ba88 tests/test-check-pyflakes.t --- a/tests/test-check-pyflakes.t Sat May 23 11:43:26 2020 +0800 +++ b/tests/test-check-pyflakes.t Sun May 24 13:02:48 2020 +0800 @@ -7,5 +7,7 @@ run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) - $ hg locate -I 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \ - > | xargs pyflakes 2>/dev/null + $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ + > -X hgext3rd/evolve/thirdparty \ + > 2>/dev/null \ + > | xargs -0 pyflakes 2>/dev/null