From c7c41cd761ac84570b24c33105374f3b739d022f Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 12 Mar 2018 18:32:00 +0100 Subject: [PATCH] remove bad yield in test_api --- jupyterhub/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/tests/test_api.py b/jupyterhub/tests/test_api.py index fd3cd719..b1be9cc8 100644 --- a/jupyterhub/tests/test_api.py +++ b/jupyterhub/tests/test_api.py @@ -586,7 +586,7 @@ def test_spawn_limit(app, no_patience, slow_spawn, request): for u in users: u.spawner.delay = 0 r = yield api_request(app, 'users', u.name, 'server', method='delete') - yield r.raise_for_status() + r.raise_for_status() while any(u.spawner.active for u in users): yield gen.sleep(0.1)