When UI automation is executed, it passes, but an error will be reported: resourcewarning: enable tracemalloc to get the object allocation traceback
Solution:
Import: import warnings
Add: warnings simplefilter(‘ignore’, ResourceWarning)
Similar Posts:
- [Solved] Syntax Error: TypeError: eslint.CLIEngine is not a constructor
- Convert Object to List>, avoiding Unchecked cast: ‘java.lang.Object’ to ‘java.util.List
- Problems and solutions in running tensorflow
- A python namespace conflict, about the from import mechanism
- The applet reports an error thirdscripterror DateValue is not defined;
- Can not deserialize instance of java.lang.String out of START_OBJECT token
- How to Solve Error: Failed to load the native TensorFlow runtime.
- Couldn’t resolve host ‘mirrorlist.centos.org
- Interface automation (8): an error is reported during interface testing sslerror: Certificate verify failed
- BeanShell error: error invoking BSH method: Eval [How to Solve]