Searched refs:meth_name (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 99 for meth_name in ('get_code', 'get_source', 'is_package'): 100 method = getattr(self.machinery.BuiltinImporter, meth_name)
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 209 for meth_name in ('get_code', 'get_source', 'is_package'): 210 method = getattr(self.machinery.FrozenImporter, meth_name)
|
/third_party/python/Lib/urllib/ |
D | request.py | 489 def _call_chain(self, chain, kind, meth_name, *args): argument 495 func = getattr(handler, meth_name) 513 meth_name = protocol+"_request" 515 meth = getattr(processor, meth_name) 522 meth_name = protocol+"_response" 524 meth = getattr(processor, meth_name) 549 meth_name = 'http_error_%s' % proto 554 meth_name = proto + '_error' 556 args = (dict, proto, meth_name) + args
|
/third_party/python/Lib/test/ |
D | test_ssl.py | 3628 for (meth_name, send_meth, expect_success, args, 3630 indata = (data_prefix + meth_name).encode('ascii') 3633 msg = "sending with {}".format(meth_name) 3641 name=meth_name, outdata=outdata[:20], 3650 "expected to succeed.\n".format(name=meth_name) 3652 if not str(e).startswith(meth_name): 3656 name=meth_name, exp=e 3660 for meth_name, recv_meth, expect_success, args in recv_methods: 3661 indata = (data_prefix + meth_name).encode('ascii') 3670 name=meth_name, outdata=outdata[:20], [all …]
|
D | test_unicode.py | 787 for meth_name in ('islower', 'isupper', 'istitle'): 788 meth = getattr(str, meth_name) 790 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name)) 792 for meth_name in ('isalpha', 'isalnum', 'isdigit', 'isspace', 795 meth = getattr(str, meth_name) 799 self.assertFalse(meth(s), '%a.%s() is False' % (s, meth_name))
|
D | test_urllib2.py | 303 def __init__(self, meth_name, action, handle): argument 304 self.meth_name = meth_name 309 return self.handle(self.meth_name, self.action, *args)
|
D | datetimetester.py | 2875 for name, meth_name, kwargs in test_cases: 2877 constr = getattr(DateTimeSubclass, meth_name)
|