We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
await io_loop
1 parent b04f526 commit 5bf4982Copy full SHA for 5bf4982
binderhub/tests/test_build.py
@@ -216,6 +216,9 @@ def test_git_credentials_passed_to_podspec_upon_submit():
216
217
218
async def test_local_repo2docker_build(io_loop):
219
+ # Todo: why is await necessary? Without await:
220
+ # AttributeError: 'coroutine' object has no attribute 'run_in_executor'
221
+ io_loop = await io_loop
222
q = Queue()
223
repo_url = "https://github.com/binderhub-ci-repos/cached-minimal-dockerfile"
224
ref = "HEAD"
@@ -248,6 +251,7 @@ async def test_local_repo2docker_build(io_loop):
248
251
249
252
@pytest.mark.asyncio(timeout=20)
250
253
async def test_local_repo2docker_build_stop(io_loop):
254
255
256
# We need a slow build here so that we can interrupt it, so pick a large repo that
257
# will take several seconds to clone
0 commit comments