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 bluecarrot
Recipients asvetlov, bluecarrot, yselivanov
Date 2022-01-29.08:53:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643446405.61.0.639828330927.issue46568@roundup.psfhosted.org>
In-reply-to
Content
Seems that, should I add an "await asyncio.sleep(1)" in asyncTearDown, so getting

class TestConnections(IsolatedAsyncioTestCase):
    async def asyncSetUp(self) -> None:
        self.proxy = asyncio.create_task(EnergyAgentProxy(self.proxy_port, self.server_port, self.upstream_port))

    async def asyncTearDown(self) -> None:
        await asyncio.sleep(1)

is enough to "hide the problem under the carpet"... but sounds weird...
History
Date User Action Args
2022-01-29 08:53:25bluecarrotsetrecipients: + bluecarrot, asvetlov, yselivanov
2022-01-29 08:53:25bluecarrotsetmessageid: <1643446405.61.0.639828330927.issue46568@roundup.psfhosted.org>
2022-01-29 08:53:25bluecarrotlinkissue46568 messages
2022-01-29 08:53:25bluecarrotcreate