Hopefully this fixes #907, as seems this is the only change in #901 which is somehow related. --------- Co-authored-by: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
6 lines
426 B
ReStructuredText
6 lines
426 B
ReStructuredText
Avoid remote calls during startup as ``execnet`` by default does not ensure remote affinity with the
|
|
main thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks,
|
|
for example ``asyncio``, ``anyio``, ``PyQt/PySide``, etc.
|
|
|
|
A more safe correction will require thread affinity in ``execnet`` (`pytest-dev/execnet#96 <https://github.com/pytest-dev/execnet/issues/96>`__).
|