Why pytest fixture return generator instead of value?

前端 未结 0 684
名媛妹妹
名媛妹妹 2021-01-28 04:51

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题