报错:
TypeError: `args` parameter expected to be a list of strings, got: './two/test_mkl.py::test_04_func' (type: <class 'str'>)
解决:
缺中括号,增加后
if __name__ == '__main__': pytest.main(['./two/test_mkl.py::test_04_func','-s'])
报错:
TypeError: `args` parameter expected to be a list of strings, got: './two/test_mkl.py::test_04_func' (type: <class 'str'>)
解决:
缺中括号,增加后
if __name__ == '__main__': pytest.main(['./two/test_mkl.py::test_04_func','-s'])