Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ async_run
Method
async_run
tests/test_async.py:781–782 ·
view source on GitHub ↗
(self, afunc)
Source
from the content-addressed store, hash-verified
779
dns.asyncbackend.set_default_backend(
"asyncio"
)
780
781
def
async_run(self, afunc):
782
return
asyncio.run(afunc())
783
784
async
def
mock_receive(
785
self,
Callers
10
test_good_mock
Method · 0.95
test_bad_address
Method · 0.95
bad
Method · 0.95
test_bad_id
Method · 0.95
test_bad_wire
Method · 0.95
test_good_wire_with_truncation_flag_and_no_truncation_raise
Method · 0.95
good
Method · 0.95
test_wrong_id_wire_with_truncation_flag_and_no_truncation_raise
Method · 0.95
test_wrong_id_wire_with_truncation_flag_and_truncation_raise
Method · 0.95
test_trailing_wire
Method · 0.95
Calls
1
run
Method · 0.45
Tested by
no test coverage detected