diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/diagnostics/TestExprDiagnostics.py b/lldb/packages/Python/lldbsuite/test/commands/expression/diagnostics/TestExprDiagnostics.py index dcd01a7f3b588c..da29d7b2c1af59 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/expression/diagnostics/TestExprDiagnostics.py +++ b/lldb/packages/Python/lldbsuite/test/commands/expression/diagnostics/TestExprDiagnostics.py @@ -101,7 +101,6 @@ def test_source_locations_from_objc_modules(self): self.runCmd("expr @import Foundation") value = frame.EvaluateExpression("NSLog(1);") self.assertFalse(value.GetError().Success()) - print(value.GetError().GetCString()) # LLDB should print the source line that defines NSLog. To not rely on any # header paths/line numbers or the actual formatting of the Foundation headers, only look # for a few tokens in the output.