test fixes

This commit is contained in:
Will McGugan 2025-06-18 08:29:31 +01:00
parent 4968dce33b
commit 82afcb4ff5
7 changed files with 154 additions and 121 deletions

View file

@ -713,14 +713,6 @@ def test_quiet() -> None:
assert console.file.getvalue() == ""
def test_no_nested_live() -> None:
console = Console()
with pytest.raises(errors.LiveError):
with console.status("foo"):
with console.status("bar"):
pass
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
def test_screen() -> None:
console = Console(