-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
test_contextlib_async
produces several RuntimeWarning
s
#110378
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
Labels
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Oct 5, 2023
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Oct 5, 2023
There are two issues here.
Moving to IsolatedAsyncioTestCase looks like a good thing, but only after fixing the deeper issues. |
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Oct 7, 2023
…contextmanager contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value.
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Oct 7, 2023
…_contextlib_async It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
kumaraditya303
pushed a commit
that referenced
this issue
Oct 8, 2023
ambv
pushed a commit
that referenced
this issue
Oct 10, 2023
…tmanager (GH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 10, 2023
…contextmanager (pythonGH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value. (cherry picked from commit 96fed66) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 10, 2023
…contextmanager (pythonGH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value. (cherry picked from commit 96fed66) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv
added a commit
that referenced
this issue
Oct 10, 2023
…ccontextmanager (GH-110499) (#110589) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value. (cherry picked from commit 96fed66) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv
pushed a commit
that referenced
this issue
Oct 10, 2023
…xtlib_async (#110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 10, 2023
…_contextlib_async (pythonGH-110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code. (cherry picked from commit 5aa62a8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 10, 2023
…_contextlib_async (pythonGH-110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code. (cherry picked from commit 5aa62a8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This is solved, thanks! ✨ 🍰 ✨ |
Thank you for your reviews @ambv. |
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…contextmanager (pythonGH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value.
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…_contextlib_async (python#110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug report
This can be fixed by moving away from legacy
@_async_test
and by using stabelIsolatedAsyncioTestCase
.cpython/Lib/test/test_contextlib_async.py
Lines 14 to 20 in 6592976
Linked PRs
IsolatedAsyncTestCase
intest_contextlib_async.py
#110379The text was updated successfully, but these errors were encountered: