Remove further usages of Path(tmpdir)

This commit is contained in:
Matthias
2023-11-05 16:25:23 +01:00
parent 555f4b51e1
commit 5a3839320d
5 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -601,9 +601,9 @@ def test_cli_verbose_with_params(default_conf, mocker, caplog) -> None:
assert log_has('Verbosity set to 3', caplog)
def test_set_logfile(default_conf, mocker, tmpdir):
def test_set_logfile(default_conf, mocker, tmp_path):
patched_configuration_load_config_file(mocker, default_conf)
f = Path(tmpdir / "test_file.log")
f = tmp_path / "test_file.log"
assert not f.is_file()
arglist = [
'trade', '--logfile', str(f),