diff options
Diffstat (limited to 'src/python/stdlib/test/leakers/test_dictself.py')
| -rw-r--r-- | src/python/stdlib/test/leakers/test_dictself.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/python/stdlib/test/leakers/test_dictself.py b/src/python/stdlib/test/leakers/test_dictself.py deleted file mode 100644 index 99bd37d..0000000 --- a/src/python/stdlib/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() |
