From 634bf79b24691781b253588b0a9afa61adcb9f6c Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Fri, 7 Feb 2025 15:53:17 +0200 Subject: [PATCH] test: move the Self import into the TYPE_CHECKING block --- src/libtmux/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtmux/test.py b/src/libtmux/test.py index f2cd1a740..4c5f32efd 100644 --- a/src/libtmux/test.py +++ b/src/libtmux/test.py @@ -10,8 +10,6 @@ import time import typing as t -from typing_extensions import Self - from .exc import WaitTimeout logger = logging.getLogger(__name__) @@ -20,6 +18,8 @@ import types from collections.abc import Callable, Generator + from typing_extensions import Self + from libtmux.server import Server from libtmux.session import Session from libtmux.window import Window