Skip to content

Commit a05085f

Browse files
committed
document loop_factory attribute
1 parent 216dc96 commit a05085f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/library/unittest.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,14 @@ Test cases
15711571

15721572
.. versionadded:: 3.8
15731573

1574+
.. attribute:: loop_factory
1575+
1576+
The *loop_factory* passed to :class:`asyncio.Runner`. Override
1577+
in subclasses with :class:`asyncio.EventLoop` to avoid using the
1578+
asyncio policy system.
1579+
1580+
.. versionadded:: 3.13
1581+
15741582
.. coroutinemethod:: asyncSetUp()
15751583

15761584
Method called to prepare the test fixture. This is called after :meth:`setUp`.

0 commit comments

Comments
 (0)