From 047a4f59c5acc6ab70bab177b33f0cef2972e8a1 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sun, 25 Mar 2018 14:30:59 -0500 Subject: This test now passes, make it run regularly --- tests/cpydiff/core_class_superproperty.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/cpydiff/core_class_superproperty.py (limited to 'tests/cpydiff') 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) -- cgit v1.2.3