[ https://issues.apache.org/jira/browse/SUBMARINE-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
cdmikechen reassigned SUBMARINE-1333: ------------------------------------- Assignee: Yao-Ching Huang > Replace pytest tmpdir with tmp_path fixture > ------------------------------------------- > > Key: SUBMARINE-1333 > URL: https://issues.apache.org/jira/browse/SUBMARINE-1333 > Project: Apache Submarine > Issue Type: Test > Reporter: Yao-Ching Huang > Assignee: Yao-Ching Huang > Priority: Major > Labels: pull-request-available > > Pytest provides both `tmp_path` and `tmpdir` fixtures to indicate the > temporary directory. > Nowadays, it's preferred to use the `tmp_path` fixture which returns a > `pathlib.Path` instead of the legacy `tmpdir` which returns `py.path.local`. > For detailed info, see > <https://docs.pytest.org/en/7.1.x/how-to/tmp_path.html>. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org