summaryrefslogtreecommitdiff
path: root/tests/cpydiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2018-03-25 14:30:59 -0500
committerJeff Epler <jepler@unpythonic.net>2018-03-26 18:47:06 -0500
commit047a4f59c5acc6ab70bab177b33f0cef2972e8a1 (patch)
tree72f7059364c502bc7f0e848dac4d3692317c31c5 /tests/cpydiff
parent74fefe45a4cc6073d16af32e0fe35e1fd389d558 (diff)
This test now passes, make it run regularly
Diffstat (limited to 'tests/cpydiff')
-rw-r--r--tests/cpydiff/core_class_superproperty.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/cpydiff/core_class_superproperty.py b/tests/cpydiff/core_class_superproperty.py
deleted file mode 100644
index 1ec210550..000000000
--- a/tests/cpydiff/core_class_superproperty.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-categories: Core,Classes
-description: Calling super() getter property in subclass will return a property object, not the value
-cause: Unknown
-workaround: Unknown
-"""
-class A:
- @property
- def p(self):
- return {"a":10}
-
-class AA(A):
- @property
- def p(self):
- return super().p
-
-a = AA()
-print(a.p)