Home
last modified time | relevance | path

Searched refs:expect_list (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dtelnetlib.py657 def _expect_with_poll(self, expect_list, timeout=None): argument
663 expect_list = expect_list[:]
664 indices = range(len(expect_list))
666 if not hasattr(expect_list[i], "search"):
668 expect_list[i] = re.compile(expect_list[i])
676 m = expect_list[i].search(self.cookedq)
702 m = expect_list[i].search(self.cookedq)
/external/python/cpython2/Lib/test/
Dtest_platform.py210 expect_list = real_ver.split('.')
211 len_diff = len(result_list) - len(expect_list)
214 expect_list.extend(['0'] * len_diff)
215 self.assertEqual(result_list, expect_list)
/external/autotest/site_utils/rpm_control_system/
Drpm_controller.py298 response = ssh.expect_list([cli_prompt_re, cli_held_re], timeout=60)
329 response = ssh.expect_list(
347 response = ssh.expect_list(
597 response = ssh.expect_list([re.compile('not unique'),
/external/autotest/client/common_lib/
Dpexpect.py1311 return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
1313 def expect_list(self, pattern_list, timeout = -1, searchwindowsize = -1): member in spawn