psf/requests-html

RuntimeError: Event loop is closed when running all the tests.

Open

#545 建立於 2023年4月7日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (13,555 star) (976 fork)batch import
bughelp wanted

描述

It happens when you ran all the tests, individually they all pass. I tried many different combinations of fixtures to close the event loop after every test, without success, top stackoverflow's answers didn't help either.

CI Trace: https://github.com/surister/requests-html/actions/runs/4637774484

Local: image

Reproduce: $ pipenv run tests

Does anyone have any idea?

貢獻者指南