From: Guido van Rossum Date: Fri, 18 Jan 2008 23:06:49 +0000 (+0000) Subject: This got fixed in r60056. X-Git-Tag: v2.5.2c1~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f4fc831adb8031b7824a06ac36147a8d36806bb;p=python This got fixed in r60056. --- diff --git a/Lib/test/crashers/weakref_in_del.py b/Lib/test/crashers/weakref_in_del.py deleted file mode 100644 index 2e9b186837..0000000000 --- a/Lib/test/crashers/weakref_in_del.py +++ /dev/null @@ -1,17 +0,0 @@ -import weakref - -# http://python.org/sf/1377858 -# Fixed for new-style classes in 2.5c1. - -ref = None - -def test_weakref_in_del(): - class Target(): - def __del__(self): - global ref - ref = weakref.ref(self) - - w = Target() - -if __name__ == '__main__': - test_weakref_in_del()