We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76e463 commit f7aaf1bCopy full SHA for f7aaf1b
sklbench/utils/common.py
@@ -66,7 +66,7 @@ def read_output_from_command(command: str) -> Tuple[int, str, str]:
66
stderr=sp.PIPE,
67
encoding="utf-8",
68
)
69
- return res.returncode, res.stdout[:-1], res.stderr[:-1]
+ return res.returncode, res.stdout.strip(), res.stderr.strip()
70
71
72
def hash_from_json_repr(x: JsonTypesUnion, hash_limit: int = 5) -> str:
0 commit comments