diff --git a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py index 18786fca5b1e..51f62b79f3f4 100644 --- a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py +++ b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py @@ -41,8 +41,6 @@ class TestDAP_attachByPortNum(lldbdap_testcase.DAPTestCaseBase): args = [] if lldbplatformutil.getPlatform() == "linux": args = ["gdbserver"] - elif lldbplatformutil.getPlatform() == "macosx": - args = ["--listen"] if lldb.remote_platform: args += ["*:0"] else: