mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
typing in tests
This commit is contained in:
parent
3215e61c12
commit
40332a52e1
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
from io import StringIO
|
||||
from typing import List
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -683,7 +684,7 @@ def test_tabs_to_spaces():
|
|||
],
|
||||
)
|
||||
def test_tabs_to_spaces_spans(
|
||||
markup: str, tab_size: int, expected_text: str, expected_spans: list[Span]
|
||||
markup: str, tab_size: int, expected_text: str, expected_spans: List[Span]
|
||||
):
|
||||
"""Test spans are correct after expand_tabs"""
|
||||
text = Text.from_markup(markup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue