Python中UI执行时报错:Enable tracemalloc to get the object allocation traceback
作者:互联网
-
执行UI自动化时,通过了,但是会报错:ResourceWarning: Enable tracemalloc to get the object allocation traceback
解决方法:
- 导入:import warnings
- 添加:warnings.simplefilter('ignore', ResourceWarning)
标签:tracemalloc,Enable,warnings,object,allocation,get 来源: https://www.cnblogs.com/brf-test/p/15834693.html