Skip to content

Commit b95900e

Browse files
committed
tests: use splitlines
use `splitlines()` instead of `split("\n")`. Signed-off-by: Tomoya Iwata <[email protected]>
1 parent f9ec357 commit b95900e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/performance/test_benchmarks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_executables():
3232
)
3333

3434
executables = []
35-
for line in stdout.split("\n"):
35+
for line in stdout.splitlines():
3636
if line:
3737
msg = json.loads(line)
3838
executable = msg.get("executable")

0 commit comments

Comments
 (0)