mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
blackify
This commit is contained in:
parent
6ce51f3ca1
commit
436e300573
2 changed files with 2 additions and 2 deletions
|
@ -370,4 +370,4 @@ def test_pager() -> None:
|
|||
with console.pager(pager, styles=True, links=False):
|
||||
console.print("[bold link https:/example.org]Hello World")
|
||||
|
||||
assert pager_content == "Hello World\n"
|
||||
assert pager_content == "Hello World\n"
|
||||
|
|
|
@ -95,4 +95,4 @@ def test_strip_styles():
|
|||
|
||||
def test_strip_links():
|
||||
segments = [Segment("foo", Style(bold=True, link="https://www.example.org"))]
|
||||
assert list(Segment.strip_links(segments)) == [Segment("foo", Style(bold=True))]
|
||||
assert list(Segment.strip_links(segments)) == [Segment("foo", Style(bold=True))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue