Changeset 880 for trunk/tests


Ignore:
Timestamp:
Jul 23, 2016, 9:21:57 AM (3 years ago)
Author:
cito
Message:

Enable garbage collection after deleting DB instance

Needed to add destructor and weak references since desctructors
are not called when there are circular references.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_dbwrapper.py

    r879 r880  
    44674467            db.query("select $1::int as r", 42).dictresult()
    44684468            db.close()
    4469             del db
    44704469        self.getLeaks(fut)
    44714470
    4472     @unittest.skip("this still needs to be resolved")
    44734471    def testLeaksWithoutClose(self):
    44744472        def fut():
Note: See TracChangeset for help on using the changeset viewer.