Mercurial > hg-stable
changeset 33418:1f3b54f392b0
test-check-pyflakes: do not leave test.py in the repo
Differential Revision: https://phab.mercurial-scm.org/D67
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 12 Jul 2017 15:27:56 -0700 |
parents | d1b13d4995ed |
children | 7c33adc823e0 |
files | tests/test-check-pyflakes.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 \