diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2015-04-13 20:10:06 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2015-04-13 20:10:06 +0200 |
commit | a63cc212348e276c8ede32773313c60ff7fda651 (patch) | |
tree | c47fdcc44d220ed930f465a3fb4f7303ba461742 /Lib/test/test_descr.py | |
parent | 56452eea39baa9d1864b2275b9e93cf37378af09 (diff) | |
download | cpython-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.py | 2 |
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() |