mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Rename type variables.
https://github.com/Textualize/textual/pull/3912#discussion_r1444398976.
This commit is contained in:
@@ -3,11 +3,11 @@ from __future__ import annotations
|
||||
import pytest
|
||||
|
||||
from textual.widget_navigation import (
|
||||
distance,
|
||||
find_first_enabled,
|
||||
find_last_enabled,
|
||||
find_next_enabled,
|
||||
find_next_enabled_no_wrap,
|
||||
get_directed_distance,
|
||||
)
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ E = _D(False)
|
||||
)
|
||||
def test_distance(index, start, direction, wrap_at, dist):
|
||||
assert (
|
||||
distance(
|
||||
get_directed_distance(
|
||||
index=index,
|
||||
start=start,
|
||||
direction=direction,
|
||||
|
||||
Reference in New Issue
Block a user