79583191

Date: 2025-04-20 08:46:37
Score: 1
Natty:
Report link

solved this problem by adding asyncio decorator with loop_scope="session" for each test case, like:

import pytest

@pytest.mark.asyncio(loop_scope="session")
async def test_some_func():
    pass
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Boris