mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-37124: Fix reference leak in test_msilib (GH-13750)
This commit is contained in:
parent
6bdc4dee01
commit
c0295dba25
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue