You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of my test cases get hung up during execution and similar cases are fine, and the problem can be reproducted. The case have problem can run smoothly if i steply execute it with pycharm. I have no idea what caused that problem, so i ctrl+c it and run with --fulltrace then. Is it possible that there are some kind of problems of my code? Maybe i use asyncio in wrong way? The detail is pasted below, hope that will be helpful.
The problem was never exist actually.
If your test hangs -- it is test's and tested code problem, not testing tool like pytest and pytest-asyncio itself.
@6ugman
Actually @asvetlov is right, it's not the problem of pytest-asyncio, maybe you can check if there is endless loop in your code or io which takes time too long.
problem:
Some of my test cases get hung up during execution and similar cases are fine, and the problem can be reproducted. The case have problem can run smoothly if i steply execute it with pycharm. I have no idea what caused that problem, so i
ctrl+c
it and run with--fulltrace
then. Is it possible that there are some kind of problems of my code? Maybe i use asyncio in wrong way? The detail is pasted below, hope that will be helpful.detail
The text was updated successfully, but these errors were encountered: