bpo-37323: Suppress DeprecationWarning raised by @asyncio.coroutine#14293
Merged
Conversation
Member
Author
|
Tested locally |
asvetlov
approved these changes
Jun 22, 2019
Contributor
asvetlov
left a comment
There was a problem hiding this comment.
Thanks.
The test change is correct.
We should support @coroutine for years in deprecated mode.
Contributor
|
Thanks @tirkarthi for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 22, 2019
…ythonGH-14293) When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323 (cherry picked from commit 186f709) Co-authored-by: Xtreak <tir.karthi@gmail.com>
|
GH-14305 is a backport of this pull request to the 3.8 branch. |
Member
Author
|
Thanks for the reviews :) |
miss-islington
added a commit
that referenced
this pull request
Jun 22, 2019
…H-14293) When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323 (cherry picked from commit 186f709) Co-authored-by: Xtreak <tir.karthi@gmail.com>
|
Contributor
|
Hmm, the failure is I'm pretty sure it is not related to the PR. |
Member
Author
|
There is an issue for this test failure : https://bugs.python.org/issue37359 |
lisroach
pushed a commit
to lisroach/cpython
that referenced
this pull request
Sep 10, 2019
…ythonGH-14293) When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323
DinoV
pushed a commit
to DinoV/cpython
that referenced
this pull request
Jan 14, 2020
…ythonGH-14293) When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the test is ran with
PYTHONWARNINGS=errorthe environment variable is passed to the python interpreter used inassert_python_okwhereDeprecationWarningfrom@asyncio.coroutineis converted into an error. Ignore theDeprecationWarninginassert_python_ok.https://bugs.python.org/issue37323