mirror of https://github.com/Textualize/rich.git
windows fix
This commit is contained in:
parent
9fefcc7830
commit
3340f58fac
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue