Skip to content

Commit bd9924f

Browse files
authored
tests: add fixme notes about warnings (#871)
1 parent 3fcd6da commit bd9924f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_client.py

+8
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ async def test_client_reprs():
255255
await cluster.shutdown()
256256

257257

258+
# FIXME: PytestUnraisableExceptionWarning: Exception ignored in: <function Client.__del__ at ...>
259+
# RuntimeError: IOLoop is closed
258260
async def test_cluster_widget():
259261
pytest.importorskip("ipywidgets")
260262

@@ -284,6 +286,7 @@ def test():
284286
await loop.run_in_executor(None, test)
285287

286288

289+
# FIXME: UserWarning: Scheduler already contains a plugin with name worker-status; overwriting.
287290
async def test_dashboard_link_from_public_address():
288291
pytest.importorskip("bokeh")
289292

@@ -333,6 +336,7 @@ async def test_create_cluster_with_GatewayCluster_constructor():
333336
assert not clusters
334337

335338

339+
# FIXME: UserWarning: Scheduler already contains a plugin with name worker-status; overwriting.
336340
async def test_sync_constructors():
337341
def test():
338342
with g.gateway_client(asynchronous=False) as gateway:
@@ -352,6 +356,8 @@ def test():
352356
await loop.run_in_executor(None, test)
353357

354358

359+
# FIXME: PytestUnraisableExceptionWarning: Exception ignored in: <function Gateway.__del__ at ...>
360+
# RuntimeError: Accessing the loop property while the loop is not running is not supported
355361
async def test_GatewayCluster_shutdown_on_close():
356362
async with temp_gateway() as g:
357363

@@ -397,6 +403,8 @@ def test():
397403
assert not clusters
398404

399405

406+
# FIXME: PytestUnraisableExceptionWarning: Exception ignored in: <function Gateway.__del__ at ...>
407+
# RuntimeError: Accessing the loop property while the loop is not running is not supported
400408
async def test_GatewayCluster_cleanup_atexit():
401409
async with temp_gateway() as g:
402410

0 commit comments

Comments
 (0)