Python中UI执行时报错:Enable tracemalloc to get the object allocation traceback2022-01-05 00:49:18 执行UI自动化时,通过了,但是会报错:ResourceWarning: Enable tracemalloc to get the object allocation traceback 解决方法: 导入:import warnings 添加:warnings.simplefilter('ignore', ResourceWarning) 上一篇:浏览器调试时禁用JS下一篇:ffmpeg编译参数详解