tests: do not skip code-checking on some whole files
authorSimon Heimberg <simohe@besonet.ch>
Mon, 01 Jul 2013 06:50:58 +0200
changeset 19381 e033a7d444ac
parent 19380 ee07f9d142c9
child 19382 5aeb03b48ab4
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.
tests/filterpyflakes.py
tests/test-remove.t
--- 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