# HG changeset patch # User Jun Wu # Date 1499898476 25200 # Node ID 1f3b54f392b0273ad9da180cc45b61917ad68518 # Parent d1b13d4995ed978b552dfc0fe8dfc0b977f46b64 test-check-pyflakes: do not leave test.py in the repo Differential Revision: https://phab.mercurial-scm.org/D67 diff -r d1b13d4995ed -r 1f3b54f392b0 tests/test-check-pyflakes.t --- a/tests/test-check-pyflakes.t Sat Jul 08 13:15:17 2017 +0900 +++ b/tests/test-check-pyflakes.t Wed Jul 12 15:27:56 2017 -0700 @@ -1,7 +1,6 @@ #require test-repo pyflakes hg10 $ . "$TESTDIR/helpers-testrepo.sh" - $ cd "`dirname "$TESTDIR"`" run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) @@ -12,6 +11,7 @@ $ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py" test.py:1: undefined name 'undefinedname' + $ cd "`dirname "$TESTDIR"`" $ testrepohg locate 'set:**.py or grep("^#!.*python")' \ > -X hgext/fsmonitor/pywatchman \