mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
test fixes
This commit is contained in:
parent
4968dce33b
commit
82afcb4ff5
7 changed files with 154 additions and 121 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue