summaryrefslogtreecommitdiff
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2015-04-13 20:10:06 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2015-04-13 20:10:06 +0200
commita63cc212348e276c8ede32773313c60ff7fda651 (patch)
treec47fdcc44d220ed930f465a3fb4f7303ba461742 /Lib/test/test_descr.py
parent56452eea39baa9d1864b2275b9e93cf37378af09 (diff)
downloadcpython-git-a63cc212348e276c8ede32773313c60ff7fda651.tar.gz
Issue #23726: Don't enable GC for user subclasses of non-GC types that don't add any new fields.
Patch by Eugene Toder.
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index cdaae0ac69..9f3d34d1e4 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -3020,8 +3020,6 @@ order (MRO) for bases """
cant(object(), list)
cant(list(), object)
class Int(int): __slots__ = []
- cant(2, Int)
- cant(Int(), int)
cant(True, int)
cant(2, bool)
o = object()