Also need to delete class instance as well as function on class under Python 3 for weak function wrapper on instance method.

This commit is contained in:
Graham Dumpleton
2013-10-02 14:00:21 +10:00
parent 56354188ee
commit 1ca75a0a55

View File

@@ -99,6 +99,7 @@ class TestWeakFunctionProxy(unittest.TestCase):
self.assertEqual(proxy(1, 2), (1, 2))
del c
del Class.function
gc.collect()