From 46af05ffc1b443290451e19d0a0ca0148e1b2a00 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Sun, 6 Dec 2015 14:54:52 +0200 Subject: Don't emit super-on-old-class on classes with unknown bases. The change also removes the confidence handling for super-on-old-class, which isn't used enough to merit its existence. Closes issue #721. --- pylint/test/functional/super_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pylint/test/functional/super_checks.py') diff --git a/pylint/test/functional/super_checks.py b/pylint/test/functional/super_checks.py index 14fd5a2..f4aec0a 100644 --- a/pylint/test/functional/super_checks.py +++ b/pylint/test/functional/super_checks.py @@ -65,9 +65,9 @@ class SuperDifferentScope(object): class UnknownBases(Missing): """Don't emit if we don't know all the bases.""" def __init__(self): - # pylint: disable=super-on-old-class super(UnknownBases, self).__init__() super(UnknownBases, self).test() + super(Missing, self).test() # [bad-super-call] # Test that we are detecting proper super errors. -- cgit v1.2.1