Pytest calling same function in multiple tests causing a leak

前端 未结 0 758
名媛妹妹
名媛妹妹 2020-12-29 16:46

I have a function where I am doing some logging like so:

class Foo:
    def start(file):
        with open(file, \'r\') as r:
            d = json.load(r)
            


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