Skip to content

Conversation

@ikappaki
Copy link
Contributor

Hi,

can you please consider patch to fix the following test warning. It ensures the async generator is properly closed by completing the async for loop.

thanks

========================================== warnings summary ===========================================
tests/basilisp/compiler_test.py::TestFunctionDef::test_multi_arity_meta
  /opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/base_events.py:744: RuntimeWarning: coroutine method 'aclose' of '__unique_kdghii_1104' was never awaited
    self._ready.clear()
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== 49 passed, 3718 deselected, 1 warning in 1.20s ============================

@chrisrink10 chrisrink10 merged commit f87b703 into basilisp-lang:main Apr 29, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants