From 8e92272ca18e7ad9eb381d1138935f024401cf54 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 17 Mar 2007 09:20:33 +0000 Subject: [PATCH] Call the base class destructor if it exists. svn path=/main/trunk/; revision=6234 --- pym/portage/tests/bin/setup_env.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/tests/bin/setup_env.py b/pym/portage/tests/bin/setup_env.py index f6ff59ff1..e0a89f1e2 100644 --- a/pym/portage/tests/bin/setup_env.py +++ b/pym/portage/tests/bin/setup_env.py @@ -33,6 +33,8 @@ class BinTestCase(TestCase): binTestsInit() def __del__(self): binTestsCleanup() + if hasattr(TestCase, "__del__"): + TestCase.__del__(self) def _exists_in_D(path): # Note: do not use os.path.join() here, we assume D to end in / -- 2.26.2