mirror of https://github.com/Textualize/rich.git
skip tests on windows
This commit is contained in:
parent
b44cf8fe07
commit
d89c29200b
|
@ -494,8 +494,9 @@ def test_no_nested_live():
|
|||
pass
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
|
||||
def test_screen():
|
||||
console = Console(force_terminal=True, force_interactive=True)
|
||||
console = Console(color_system=None, force_terminal=True, force_interactive=True)
|
||||
with console.capture() as capture:
|
||||
with console.screen():
|
||||
console.print("Don't panic")
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import sys
|
||||
import pytest
|
||||
|
||||
from rich.console import Console
|
||||
|
@ -5,6 +6,7 @@ from rich.layout import Layout
|
|||
from rich.panel import Panel
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
|
||||
def test_render():
|
||||
layout = Layout(name="root")
|
||||
repr(layout)
|
||||
|
|
Loading…
Reference in New Issue