[cherry pick] Unit test with tempfile to place the temporary files (#43522)
Use tempfile for unit test & custom op test to replace temporary files to ensure that all temporary files will be deleted normally after a single measurement, avoiding the usage of disk files. The PR only involves single-test and op test modifications and does not affect existing functionality. Release/2.3 branch modified in PR43521;
Showing
想要评论请 注册 或 登录