psf/requests-html

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

Open

#545 opened on Apr 7, 2023

 (0 comments) (0 reactions) (0 assignees)Python (976 forks)batch import
bughelp wanted

Repository metrics

Stars
 (13,555 stars)
PR merge metrics
 (No merged PRs in 30d)

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