windows fix

This commit is contained in:
Will McGugan 2020-08-25 17:23:06 +01:00
parent 9fefcc7830
commit 3340f58fac
1 changed files with 1 additions and 1 deletions

View File

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