Skip to content

Commit aeb8fcb

Browse files
jet-logicjet-logic
authored andcommitted
winci62
1 parent 3ca12e7 commit aeb8fcb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_windows.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,11 @@ def test_kill_already_dead(self):
191191
self.assertFalse(kill_pid(temp_pid), f"kill_pid {temp_pid}")
192192

193193
def test_tail_n(self):
194-
proc = run(["tail", "-n", "10", "README.md"])
194+
proc = run(
195+
["tail", "-n", "10", "README.md"],
196+
capture_output=True,
197+
text=True,
198+
)
195199
self.assertRegex(proc.stdout, r"(?xi) \W+ flake8 \W+ runce \W+", proc.stdout)
196200

197201
def test_tail_powershell(self):

0 commit comments

Comments
 (0)