Skip to content

Commit 46e57a8

Browse files
committed
improve
1 parent 8db5618 commit 46e57a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/system-test-runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@
4242
from typing import Optional, List, Tuple
4343
from dataclasses import dataclass
4444

45-
TERMINAL_COLUMNS: int = os.get_terminal_size().columns
45+
TERMINAL_COLUMNS: int = 60
46+
try:
47+
TERMINAL_COLUMNS: int = os.get_terminal_size().columns
48+
except:
49+
pass
4650

4751
def str_to_bool(value: str) -> str:
4852
"""Convert true/false string to 1/0 string for internal compatibility."""

0 commit comments

Comments
 (0)