summaryrefslogtreecommitdiff
path: root/pylint/test/functional/useless_object_inheritance.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/useless_object_inheritance.py')
-rw-r--r--pylint/test/functional/useless_object_inheritance.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/pylint/test/functional/useless_object_inheritance.py b/pylint/test/functional/useless_object_inheritance.py
deleted file mode 100644
index 562c81f6a..000000000
--- a/pylint/test/functional/useless_object_inheritance.py
+++ /dev/null
@@ -1,27 +0,0 @@
-"""Check if a class inherits from object.
-In python3 every class implicitly inherits from object, therefore give refactoring message to
- remove object from bases"""
-# pylint: disable=no-init, invalid-name, missing-docstring, too-few-public-methods
-# pylint: disable=inconsistent-mro
-import abc
-
-class A(object): # [useless-object-inheritance]
- pass
-
-class B:
- pass
-
-class C(B, object): # [useless-object-inheritance]
- pass
-
-class D(object, C, metaclass=abc.ABCMeta): # [useless-object-inheritance]
- pass
-
-class E(D, C, object, metaclass=abc.ABCMeta): # [useless-object-inheritance]
- pass
-
-class F(A): # positive test case
- pass
-
-class G(B): # positive test case
- pass