mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
chore: fix test failure due to terminal error
This commit is contained in:
parent
d05ca3db0b
commit
59d47955a0
|
@ -59,7 +59,7 @@ class HyperoptOutput:
|
||||||
|
|
||||||
max_rows: Optional[int] = None
|
max_rows: Optional[int] = None
|
||||||
|
|
||||||
if self._streaming:
|
if self._streaming and "pytest" not in sys.modules:
|
||||||
ts = get_terminal_size()
|
ts = get_terminal_size()
|
||||||
# Get terminal size.
|
# Get terminal size.
|
||||||
# Account for header, borders, and for the progress bar.
|
# Account for header, borders, and for the progress bar.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user