fix: auto fixes

This commit is contained in:
pre-commit-ci[bot] 2024-02-20 01:17:38 +00:00
parent 3b9a733509
commit 456121516f

View file

@ -149,17 +149,20 @@ class Helper:
) )
var python_path = output[0].strip_edges() var python_path = output[0].strip_edges()
var exit_code = OS.execute( var exit_code = (
python_path, OS
[ . execute(
"-c", python_path,
( [
"import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))" "-c",
% fd (
) "import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))"
], % fd
true, )
output ],
true,
output
)
) )
assert(exit_code == 0, "Failed to run python command for this test.") assert(exit_code == 0, "Failed to run python command for this test.")