Skip to content

fix async test warning #1251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025
Merged

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