Skip to content

Commit bb7fd40

Browse files
committed
force console on terminal summary
1 parent 43ed1d5 commit bb7fd40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/snapshot_tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def pytest_terminal_summary(
188188
Displays the link to the snapshot report that was generated in a prior hook.
189189
"""
190190
diffs = getattr(config, "_textual_snapshots", None)
191-
console = Console()
191+
console = Console(legacy_windows=False, force_terminal=True)
192192
if diffs:
193193
snapshot_report_location = config._textual_snapshot_html_report
194194
console.rule("[b red]Textual Snapshot Report", style="red")

0 commit comments

Comments
 (0)