ResourceWarning: unclosed event loop on macOS, within pytest
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 4.5k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 6
Description
I just updated command line tools and macOS to `10.15.4`, I'm within a virtualenv, using `ipdb` within `pytest`, Python v. 3.7.7. Don't know if the update is related.
I'm getting the following error:
```
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 622, in __del__
source=self)
ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 622, in __del__
source=self)
ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 622, in __del__
source=self)
ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
ResourceWarning: unclosed
Exception ignored in:
Traceback (most recent call last):
```
Randomly in the `ipdb` prompt.
Contributor guide
Assessment
This issue has not been assessed yet.