Why I receive from fixture in first case Task object, and in second case generator object? And how I can fix it?
I have a fixture:
@pytest.fixture(scope=&q