summaryrefslogtreecommitdiff
path: root/test/test_func.py
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-07-30 22:08:56 +0200
committerTorsten Marek <shlomme@gmail.com>2014-07-30 22:08:56 +0200
commitb38fb7347e07a4c342cdf153939ee5ea56e6ae84 (patch)
treea98b7f2e7bade22fed31ccf03d172310dce2433c /test/test_func.py
parent781f757b62fb37ce3c5d7f962277799ef1b3b7ca (diff)
downloadpylint-b38fb7347e07a4c342cdf153939ee5ea56e6ae84.tar.gz
Remove the exhaustivity test from the old framework, it just creates needless churn right now. Once all test cases have been ported, it will be added again in the new framework.
Diffstat (limited to 'test/test_func.py')
-rw-r--r--test/test_func.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/test_func.py b/test/test_func.py
index 2c05d09..f9b3522 100644
--- a/test/test_func.py
+++ b/test/test_func.py
@@ -40,27 +40,6 @@ class LintTestNonExistentModuleTC(LintTestUsingModule):
_get_expected = lambda self: 'F: 1: No module named %snonexistent%s\n' % (quote, quote)
-class TestTests(unittest.TestCase):
- """check that all testable messages have been checked"""
- PORTED = set(['I0001', 'I0010', 'W0712', 'E1001', 'W1402', 'E1310', 'E0202',
- 'W0711', 'W0108', 'E0603', 'W0710', 'E0710', 'E0711', 'W1001',
- 'E1124', 'E1120', 'E1121', 'E1123', 'E1003', 'E1002', 'W0212',
- 'C0327', 'C0328',
- 'W0109', 'E1004', 'W0604', 'W0601', 'W0602', 'C0112', 'C0330',
- 'C0325', 'E0211', 'W1501'])
-
- def test_exhaustivity(self):
- # skip fatal messages
- not_tested = set(msg.msgid for msg in linter.msgs_store.messages
- if msg.msgid[0] != 'F' and msg.may_be_emitted())
- for msgid in test_reporter.message_ids:
- try:
- not_tested.remove(msgid)
- except KeyError:
- continue
- not_tested -= self.PORTED
- self.assertFalse(not_tested)
-
class LintBuiltinModuleTest(LintTestUsingModule):
output = join(MSG_DIR, 'builtin_module.txt')
@@ -88,10 +67,6 @@ def gen_tests(filter_rgx):
tests.append(LintBuiltinModuleTest)
- if not filter_rgx:
- # test all features are tested :)
- tests.append(TestTests)
-
assert len(tests) < 196, "Please do not add new test cases here."
return tests