mirror of
https://github.com/clearml/wexpect-venv
synced 2025-02-26 05:59:21 +00:00
[CLN] remove warning from waitnoecho
This commit is contained in:
parent
54fe50e5ba
commit
e46ac7e108
15
wexpect.py
15
wexpect.py
@ -544,16 +544,7 @@ class spawn_windows ():
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def waitnoecho (self, timeout=-1): # pragma: no cover
|
def waitnoecho (self, timeout=-1):
|
||||||
faulty_method_warning = '''
|
|
||||||
################################## WARNING ##################################
|
|
||||||
waitnoecho() is faulty!
|
|
||||||
Please contact me and report it at
|
|
||||||
https://github.com/raczben/wexpect/issues/18 if you use it.
|
|
||||||
################################## WARNING ##################################
|
|
||||||
'''
|
|
||||||
warnings.warn(faulty_method_warning, DeprecationWarning)
|
|
||||||
|
|
||||||
"""This waits until the terminal ECHO flag is set False. This returns
|
"""This waits until the terminal ECHO flag is set False. This returns
|
||||||
True if the echo mode is off. This returns False if the ECHO flag was
|
True if the echo mode is off. This returns False if the ECHO flag was
|
||||||
not set False before the timeout. This can be used to detect when the
|
not set False before the timeout. This can be used to detect when the
|
||||||
@ -1947,7 +1938,3 @@ def split_command_line(command_line, escape_char = '^'):
|
|||||||
if arg != '':
|
if arg != '':
|
||||||
arg_list.append(arg)
|
arg_list.append(arg)
|
||||||
return arg_list
|
return arg_list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user