From f77b1e0ba3bbe776d775bd626a636743bd465c00 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 01:29:51 +0000 Subject: [PATCH] fix: auto fixes --- test/platform/unix/unix.test.gd | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/test/platform/unix/unix.test.gd b/test/platform/unix/unix.test.gd index 692178c..d460465 100644 --- a/test/platform/unix/unix.test.gd +++ b/test/platform/unix/unix.test.gd @@ -149,17 +149,20 @@ class Helper: ) var python_path = output[0].strip_edges() - var exit_code = OS.execute( - python_path, - [ - "-c", - ( - "import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))" - % fd - ) - ], - true, - output + var exit_code = ( + OS + . execute( + python_path, + [ + "-c", + ( + "import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))" + % fd + ) + ], + true, + output + ) ) assert(exit_code == 0, "Failed to run python command for this test.")