Index: test/lldbtest.py =================================================================== --- test/lldbtest.py +++ test/lldbtest.py @@ -1017,10 +1017,9 @@ except (ValueError, pexpect.ExceptionPexpect): # child is already terminated pass - finally: - # Give it one final blow to make sure the child is terminated. - self.child.close() - + finally: + # Give it one final blow to make sure the child is terminated. + self.child.close() def tearDown(self): """Fixture for unittest test case teardown."""