Skip to content

Commit

Permalink
python: make cli tester more lenient about stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
reyammer committed Jan 23, 2025
1 parent 2d402b0 commit 62653dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/scripts/run_quick_test_magika_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def main(client_path: Optional[Path]) -> None:
print(f"stderr:\n{p.stderr}\n" + "-" * 40)
sys.exit(1)

assert p.stderr == ""
if p.stderr != "":
print(f"WARNING: p.stderr not empty: {p.stderr}")

with_error = False
lines = p.stdout.split("\n")
Expand Down

0 comments on commit 62653dd

Please sign in to comment.