diff --git a/lldb/test/API/python_api/file_handle/TestFileHandle.py b/lldb/test/API/python_api/file_handle/TestFileHandle.py index 707044a3afb0f..70720e3f0fa91 100644 --- a/lldb/test/API/python_api/file_handle/TestFileHandle.py +++ b/lldb/test/API/python_api/file_handle/TestFileHandle.py @@ -2,7 +2,6 @@ Test lldb Python API for file handles. """ - import os import io import re @@ -680,6 +679,7 @@ def test_stdout_file(self): lines = [x for x in f.read().strip().split() if x != "7"] self.assertEqual(lines, ["foobar"]) + @skipIf(hostoslist=["windows"]) def test_stdout_file_interactive(self): """Ensure when we read stdin from a file, outputs from python goes to the right I/O stream.""" with open(self.in_filename, "w") as f: diff --git a/lldb/test/Shell/ScriptInterpreter/Python/io.test b/lldb/test/Shell/ScriptInterpreter/Python/io.test index 25e3de41724e0..1a3ff8dcd4258 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/io.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/io.test @@ -1,3 +1,5 @@ +# UNSUPPORTED: system-windows + # RUN: rm -rf %t.stdout %t.stderr # RUN: cat %s | %lldb --script-language python > %t.stdout 2> %t.stderr # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT