[issue36870] test_asyncio: test_drain_raises() fails randomly on Windows

STINNER Victor report at bugs.python.org
Tue May 14 10:01:56 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Maybe the test started to fail randomly after this change:

commit 1cc0ee7d9f6a2817918fafd24c18d8bb093a85d3
Author: Andrew Svetlov <andrew.svetlov at gmail.com>
Date:   Tue May 7 16:53:19 2019 -0400

    bpo-36801: Fix waiting in StreamWriter.drain for closing
    SSL transport (GH-13098)

The test is quite old, added in bpo-25441:

commit c44ecdf687897a20f11d0c5212b51e8d31f6100a
Author: Guido van Rossum <guido at python.org>
Date:   Mon Oct 19 11:49:30 2015 -0700

    Issue #25441: asyncio: Raise error from drain() when socket is closed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36870>
_______________________________________


More information about the Python-bugs-list mailing list