fix: auto fixes

This commit is contained in:
pre-commit-ci[bot] 2024-03-13 01:29:51 +00:00
parent 9935d56964
commit f77b1e0ba3

View file

@ -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.")