typing in tests

This commit is contained in:
Will McGugan 2023-07-28 22:13:32 +01:00
parent 3215e61c12
commit 40332a52e1

View file

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