diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2007-02-18 11:36:38 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2007-02-18 11:36:38 +0100 |
commit | 8df45f9d7e4505e4d1cc7ae5596e2bbbf202e24e (patch) | |
tree | d88075ce01727c68d4c5d7b34f666920c6d3e9c4 /test | |
parent | e10113003a495f0e20bd23759ffb1fdc2f0c6f3e (diff) | |
download | pylint-git-8df45f9d7e4505e4d1cc7ae5596e2bbbf202e24e.tar.gz |
lint fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/func_test.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/test/func_test.py b/test/func_test.py index e2cbe27c4..f1c33d9cc 100644 --- a/test/func_test.py +++ b/test/func_test.py @@ -117,7 +117,24 @@ class TestTests(unittest.TestCase): self.assertEqual(todo, ['E0503', 'F0002', 'F0202', 'F0321', 'I0001']) else: # python < 2.3 self.assertEqual(todo, ['F0002', 'F0202', 'F0321', 'I0001']) - + +#bycat = {} +#for msgid in linter._messages.keys(): +# bycat[msgid[0]] = bycat.setdefault(msgid[0], 0) + 1 +#for cat, val in bycat.items(): +# print '%s: %s' % (cat, val) +#print 'total', sum(bycat.values()) +# +# on 2007/02/17: +# +# W: 48 +# E: 42 +# R: 15 +# C: 13 +# F: 7 +# I: 5 +# total 130 + def make_tests(filter_rgx): """generate tests classes from test info |