From 3340f58fac318462a801fbd899bf95e873df7537 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 25 Aug 2020 17:23:06 +0100 Subject: [PATCH] windows fix --- tests/test_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_protocol.py b/tests/test_protocol.py index d7e54883..52277ac9 100644 --- a/tests/test_protocol.py +++ b/tests/test_protocol.py @@ -19,6 +19,6 @@ def test_rich_cast(): def test_rich_cast_container(): foo = Foo() - console = Console(file=io.StringIO()) + console = Console(file=io.StringIO(), legacy_windows=False) console.print(Panel.fit(foo)) assert console.file.getvalue() == "╭───╮\n│Foo│\n╰───╯\n"