Searched refs:expect_list (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | telnetlib.py | 657 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/ |
D | test_platform.py | 210 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/python/cpython3/Lib/test/ |
D | test_platform.py | 232 expect_list = real_ver.split('.') 233 len_diff = len(result_list) - len(expect_list) 236 expect_list.extend(['0'] * len_diff) 237 self.assertEqual(result_list, expect_list)
|
/external/autotest/site_utils/rpm_control_system/ |
D | rpm_controller.py | 295 response = ssh.expect_list([cli_prompt_re, cli_held_re], timeout=60) 326 response = ssh.expect_list( 344 response = ssh.expect_list( 593 response = ssh.expect_list([re.compile('not unique'),
|
/external/autotest/client/common_lib/ |
D | pexpect.py | 1311 return self.expect_list(compiled_pattern_list, timeout, searchwindowsize) 1313 def expect_list(self, pattern_list, timeout = -1, searchwindowsize = -1): member in spawn
|