psf/requests-html

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

Open

#545 opened on Apr 7, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (13,555 stars) (976 forks)batch import
bughelp wanted

Description

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?

Contributor guide