Skip to content

Commit 634bf79

Browse files
ppentchevtony
authored andcommitted
test: move the Self import into the TYPE_CHECKING block
1 parent 6c475b2 commit 634bf79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import time
1111
import typing as t
1212

13-
from typing_extensions import Self
14-
1513
from .exc import WaitTimeout
1614

1715
logger = logging.getLogger(__name__)
@@ -20,6 +18,8 @@
2018
import types
2119
from collections.abc import Callable, Generator
2220

21+
from typing_extensions import Self
22+
2323
from libtmux.server import Server
2424
from libtmux.session import Session
2525
from libtmux.window import Window

0 commit comments

Comments
 (0)