Mercurial > hg-stable
diff tests/filterpyflakes.py @ 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 | 77440de177f7 |
children | 681f7b9213a4 |
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))