Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ sleep
Method
sleep
tests/test_resolver.py:219–223 ·
view source on GitHub ↗
(self, offset)
Source
from the content-addressed store, hash-verified
217
return
time.time()
218
219
def
sleep(self, offset):
220
if
self.want_fake:
221
self.now += offset
222
else
:
223
time.sleep(offset)
224
225
226
class
BaseResolverTests(unittest.TestCase):
Callers
9
threaded_main
Function · 0.45
run_one
Function · 0.45
run
Method · 0.45
testCacheExpiration
Method · 0.45
testCacheCleaning
Method · 0.45
testCacheNonCleaning
Method · 0.45
testLRUExpiration
Method · 0.45
handle
Method · 0.45
handle_events
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected