aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/leakers/test_dictself.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/leakers/test_dictself.py')
-rw-r--r--Lib/test/leakers/test_dictself.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/leakers/test_dictself.py b/Lib/test/leakers/test_dictself.py
deleted file mode 100644
index 99bd37d8ccf..00000000000
--- a/Lib/test/leakers/test_dictself.py
+++ /dev/null
@@ -1,12 +0,0 @@
-'''Test case for "self.__dict__ = self" circular reference bug (#1469629)'''
-
-import gc
-
-class LeakyDict(dict):
- pass
-
-def leak():
- ld = LeakyDict()
- ld.__dict__ = ld
- del ld
- gc.collect(); gc.collect(); gc.collect()