mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings, remove unused Color._rich__
This commit is contained in:
@@ -13,10 +13,6 @@ def test_rich_color():
|
||||
)
|
||||
|
||||
|
||||
def test_rich_color_rich_output():
|
||||
assert isinstance(Color(10, 20, 30).__rich__(), Text)
|
||||
|
||||
|
||||
def test_normalized():
|
||||
assert Color(255, 128, 64).normalized == pytest.approx((1.0, 128 / 255, 64 / 255))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user