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.
1 parent a703d5f commit e9b83eaCopy full SHA for e9b83ea
1 file changed
tests/test_core/test_layout.py
@@ -234,11 +234,11 @@ def AnElement():
234
235
await layout.render()
236
try:
237
- asyncio.wait_for(
238
- [layout.render()],
+ await asyncio.wait_for(
+ layout.render(),
239
timeout=0.1, # this should have been plenty of time
240
)
241
- except asyncio.CancelledError:
+ except asyncio.TimeoutError:
242
pass # the render should still be rendering since we only update once
243
244
assert run_count.current == 2
0 commit comments