Mercurial > hg-stable
changeset 19381:e033a7d444ac
tests: do not skip code-checking on some whole files
In filterpyflakes the term no-check-code was probably by accident.
In the test the intention was not to skip the entire file but only one
line. But any skipping seems to be unnecessary since a longer time.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Mon, 01 Jul 2013 06:50:58 +0200 |
parents | ee07f9d142c9 |
children | 5aeb03b48ab4 |
files | tests/filterpyflakes.py tests/test-remove.t |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/filterpyflakes.py Mon Jul 01 06:50:58 2013 +0200 +++ b/tests/filterpyflakes.py Mon Jul 01 06:50:58 2013 +0200 @@ -42,7 +42,7 @@ f = open(os.path.join(os.path.dirname(os.path.dirname(__file__)), fn)) data = f.read() f.close() - if 'no-check-code' in data: + if 'no-' 'check-code' in data: continue lines.append((msgtype, line))
--- a/tests/test-remove.t Mon Jul 01 06:50:58 2013 +0200 +++ b/tests/test-remove.t Mon Jul 01 06:50:58 2013 +0200 @@ -1,6 +1,6 @@ $ remove() { > hg rm $@ - > echo "exit code: $?" # no-check-code + > echo "exit code: $?" > hg st > # do not use ls -R, which recurses in .hg subdirs on Mac OS X 10.5 > find . -name .hg -prune -o -type f -print | sort