From 9fb761772c65a244926e98a4a87511e407df6eb7 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Mon, 29 Dec 2025 23:50:15 +0545 Subject: [PATCH] update test fixture to use tmp_path_factory (#10939) --- tests/unit/command/test_studio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/command/test_studio.py b/tests/unit/command/test_studio.py index 419050f3a..b190e5d6d 100644 --- a/tests/unit/command/test_studio.py +++ b/tests/unit/command/test_studio.py @@ -7,9 +7,9 @@ from dvc_studio_client.auth import AuthorizationExpiredError @pytest.fixture(autouse=True) -def global_config_dir(monkeypatch, tmp_dir_factory): +def global_config_dir(monkeypatch, tmp_path_factory): monkeypatch.setenv( - env.DVC_GLOBAL_CONFIG_DIR, str(tmp_dir_factory.mktemp("studio-login")) + env.DVC_GLOBAL_CONFIG_DIR, str(tmp_path_factory.mktemp("studio-login")) )