This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients andrei.avk, defreng, ezio.melotti, lukasz.langa, michael.foord, rbcollins, rmast, santhu_reddy12, serhiy.storchaka, terry.reedy, xtreak, zach.ware
Date 2021-08-21.03:54:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629518073.81.0.933839175899.issue41322@roundup.psfhosted.org>
In-reply-to
Content
Yes, it seems like this deprecation detected a broken test that wasn't running.

If I add a `raise` statement to it and rerun the test, it still passes on my local system:
./python.exe -m unittest -v test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_wait_no_same_group
  warnings.warn(f'It is deprecated to return a value!=None from a '
Ran 1 test in 0.022s

OK

(with last line of test being just `raise`).

It seems to me it should be fixed in some way although I don't know if Ryan's suggestion will do or not as I haven't looked at asyncio tests before..
History
Date User Action Args
2021-08-21 03:54:33andrei.avksetrecipients: + andrei.avk, terry.reedy, rbcollins, ezio.melotti, michael.foord, lukasz.langa, zach.ware, serhiy.storchaka, xtreak, defreng, santhu_reddy12, rmast
2021-08-21 03:54:33andrei.avksetmessageid: <1629518073.81.0.933839175899.issue41322@roundup.psfhosted.org>
2021-08-21 03:54:33andrei.avklinkissue41322 messages
2021-08-21 03:54:33andrei.avkcreate