mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests: Ensure objects are free'ed at the end of tests
The objects may not be garbage collected otherwise.
This commit is contained in:
committed by
Benjamin Berg
parent
4948a85e97
commit
1d1c39c234
@@ -83,6 +83,8 @@ class VirtualImage(unittest.TestCase):
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
shutil.rmtree(cls.tmpdir)
|
||||
del cls.dev
|
||||
del cls.ctx
|
||||
|
||||
def setUp(self):
|
||||
self.dev.open_sync()
|
||||
|
||||
Reference in New Issue
Block a user