Skip to content

Commit 2d98e3f

Browse files
committed
linting
1 parent 2e5c312 commit 2d98e3f

File tree

1 file changed

+4
-4
lines changed
  • py/selenium/webdriver/support

1 file changed

+4
-4
lines changed

py/selenium/webdriver/support/wait.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def __repr__(self):
9090
return f'<{type(self).__module__}.{type(self).__name__} (session="{self._driver.session_id}")>'
9191

9292
def until(self, method: Callable[[D], Union[Literal[False], T]], message: str = "") -> T:
93-
"""Wait until the method returns a value that is not False
94-
93+
"""Wait until the method returns a value that is not False.
94+
9595
Calls the method provided with the driver as an argument until the
9696
return value does not evaluate to ``False``.
9797
@@ -141,8 +141,8 @@ def until(self, method: Callable[[D], Union[Literal[False], T]], message: str =
141141
raise TimeoutException(message, screen, stacktrace)
142142

143143
def until_not(self, method: Callable[[D], T], message: str = "") -> Union[T, Literal[True]]:
144-
"""Wait until the method returns a value that is not False
145-
144+
"""Wait until the method returns a value that is not False.
145+
146146
Calls the method provided with the driver as an argument until the
147147
return value does not evaluate to ``False``.
148148

0 commit comments

Comments
 (0)