Home
last modified time | relevance | path

Searched refs:meth_name (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/test_importlib/builtin/
Dtest_loader.py99 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/
Dtest_loader.py209 for meth_name in ('get_code', 'get_source', 'is_package'):
210 method = getattr(self.machinery.FrozenImporter, meth_name)
/third_party/python/Lib/urllib/
Drequest.py489 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/
Dtest_ssl.py3628 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 …]
Dtest_unicode.py787 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))
Dtest_urllib2.py303 def __init__(self, meth_name, action, handle): argument
304 self.meth_name = meth_name
309 return self.handle(self.meth_name, self.action, *args)
Ddatetimetester.py2875 for name, meth_name, kwargs in test_cases:
2877 constr = getattr(DateTimeSubclass, meth_name)