This commit is contained in:
Kovid Goyal
2026-07-04 09:19:56 +05:30
parent a65b4c70a7
commit 89781759e4
2 changed files with 6 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ shell_name=$(command basename "$login_shell")
}
cp = subprocess.run(
['sh', '-c', script], env=env, stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
capture_output=True, text=True)
self.assertEqual(cp.returncode, 0, cp.stderr + cp.stdout)
@retry_on_failure()