aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index b57c3bd..e0da7cb 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -31,7 +31,6 @@ $
import abc
from functools import wraps
import gc
-import glob
import io
import json
import os.path
@@ -416,7 +415,7 @@ class _LocalProcess(_BaseProcess):
self._proc = Popen(
[executable] + args,
- stdout=open(os.devnull) if not self._trace_on else None,
+ stdout=DEVNULL if not self._trace_on else None,
stdin=PIPE,
env=env,
)