Commit c0295dba authored by Pablo Galindo's avatar Pablo Galindo Committed by GitHub

bpo-37124: Fix reference leak in test_msilib (GH-13750)

parent 6bdc4dee
......@@ -87,6 +87,7 @@ class MsiDatabaseTestCase(unittest.TestCase):
db, db_path = init_database()
self.addCleanup(unlink, db_path)
self.addCleanup(db.Close)
self.addCleanup(msilib._directories.clear)
feature = msilib.Feature(db, 0, 'Feature', 'A feature', 'Python')
cab = msilib.CAB('CAB')
dir = msilib.Directory(db, cab, None, TESTFN, 'TARGETDIR',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment