From 456121516f1dfe2625801c87f975d6c8e69c08d3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 01:17:38 +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.")