ResourceWarning: unclosed event loop on macOS, within pytest
- Langage dominant
- Python
- Étoiles
- 16.8k
- Forks
- 4.5k
- Merge moyen
- 1 j 2 h
- PR mergées (30 j)
- 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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.