Skip to content

Commit

Permalink
Fix trailing error with tests. (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsthorat authored Nov 29, 2023
1 parent 86251f6 commit 9a30760
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lilac/tasks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
from .tasks import TaskManager


async def test_task_manager_outside_event_loop() -> None:
def test_task_manager_outside_event_loop() -> None:
# Make sure we can make a default TaskManager from outside a running loop.
task_manager = TaskManager()
assert task_manager is not None
await task_manager.stop()
task_manager._dask_client.shutdown()
task_manager._dask_client.close()

0 comments on commit 9a30760

Please sign in to comment.