summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
index 94a013b53ce..617b4bcfaec 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
@@ -46,7 +46,7 @@ class ProcessAttachTestCase(TestBase):
newdir = self.getBuildArtifact("newdir")
try:
os.mkdir(newdir)
- except OSError, e:
+ except OSError as e:
if e.errno != os.errno.EEXIST:
raise
testdir = self.getBuildDir()
OpenPOWER on IntegriCloud