summaryrefslogtreecommitdiff
path: root/tests/functional/a/abstract/abstract_abc_methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/a/abstract/abstract_abc_methods.py')
-rw-r--r--tests/functional/a/abstract/abstract_abc_methods.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/functional/a/abstract/abstract_abc_methods.py b/tests/functional/a/abstract/abstract_abc_methods.py
new file mode 100644
index 000000000..d174669a5
--- /dev/null
+++ b/tests/functional/a/abstract/abstract_abc_methods.py
@@ -0,0 +1,17 @@
+""" This should not warn about `prop` being abstract in Child """
+# pylint: disable=too-few-public-methods, no-absolute-import,metaclass-assignment, useless-object-inheritance
+
+import abc
+
+class Parent(object):
+ """Abstract Base Class """
+ __metaclass__ = abc.ABCMeta
+
+ @property
+ @abc.abstractmethod
+ def prop(self):
+ """ Abstract """
+
+class Child(Parent):
+ """ No warning for the following. """
+ prop = property(lambda self: 1)