docstrings, remove unused Color._rich__

This commit is contained in:
Will McGugan
2023-04-09 18:07:42 +01:00
parent 5fe69b05aa
commit c9de67f7df
2 changed files with 4 additions and 17 deletions

View File

@@ -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))