summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbtest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 318b4e02491..3b99f4b10eb 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -1019,10 +1019,9 @@ class Base(unittest2.TestCase):
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."""
OpenPOWER on IntegriCloud