File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,9 @@ def test_git_credentials_passed_to_podspec_upon_submit():
216216
217217
218218async 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
219222 q = Queue ()
220223 repo_url = "https://github.com/binderhub-ci-repos/cached-minimal-dockerfile"
221224 ref = "HEAD"
@@ -248,6 +251,7 @@ async def test_local_repo2docker_build(io_loop):
248251
249252@pytest .mark .asyncio (timeout = 20 )
250253async def test_local_repo2docker_build_stop (io_loop ):
254+ io_loop = await io_loop
251255 q = Queue ()
252256 # We need a slow build here so that we can interrupt it, so pick a large repo that
253257 # will take several seconds to clone
You can’t perform that action at this time.
0 commit comments