mirror of
https://github.com/Textualize/rich.git
synced 2025-07-09 21:55:01 +00:00
8 lines
206 B
Python
8 lines
206 B
Python
from rich._palettes import STANDARD_PALETTE
|
|
from rich.table import Table
|
|
|
|
|
|
def test_rich_cast():
|
|
table = STANDARD_PALETTE.__rich__()
|
|
assert isinstance(table, Table)
|
|
assert table.row_count == 16
|