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.
--- 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