mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Caching color blending in Opacity, ignoring ANSI colors
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import pytest
|
||||
from rich.text import Text
|
||||
|
||||
from tests.utilities.render import render
|
||||
from textual.renderables.opacity import Opacity
|
||||
|
||||
|
||||
@pytest.mark.skip
|
||||
def test_simple_opacity():
|
||||
pass
|
||||
text = Text("Hello, world!", style="#ff0000 on #00ff00")
|
||||
assert render(Opacity(text, value=.5)) == ""
|
||||
|
||||
|
||||
@pytest.mark.skip
|
||||
|
||||
Reference in New Issue
Block a user