Automatically wrap / decorate all pytest unit tests

后端 未结 0 1607
情话喂你
情话喂你 2021-01-04 11:36

Let\'s say I have a very simple logging decorator:

from functools import wraps

def my_decorator(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
            


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