We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c9454 commit 738166aCopy full SHA for 738166a
libtmux/exc.py
@@ -49,3 +49,8 @@ class InvalidOption(OptionError):
49
class AmbiguousOption(OptionError):
50
51
"""Option that could potentially match more than one."""
52
+
53
54
+class WaitTimeout(LibTmuxException):
55
56
+ """Function timed out without meeting condition"""
libtmux/test.py
@@ -5,6 +5,8 @@
5
import tempfile
6
import time
7
8
+from .exc import WaitTimeout
9
10
logger = logging.getLogger(__name__)
11
12
TEST_SESSION_PREFIX = "libtmux_"
@@ -17,10 +19,6 @@
17
19
fixtures_dir = os.path.realpath(os.path.join(current_dir, "fixtures"))
18
20
21
-class WaitTimeout(Exception):
- '''Function timed out without meeting condition'''
22
-
23
24
def retry(
25
fun,
26
seconds=RETRY_TIMEOUT_SECONDS,
0 commit comments