From f2ec5f73d0ad9b302d3aa3246c52fdbcbaa39508 Mon Sep 17 00:00:00 2001 From: Yu-Ting Hsiung Date: Wed, 4 Feb 2026 00:48:43 +0800 Subject: [PATCH] test: remove duplicated chdir fixture --- tests/providers/conftest.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/providers/conftest.py diff --git a/tests/providers/conftest.py b/tests/providers/conftest.py deleted file mode 100644 index 41b7bd02f1..0000000000 --- a/tests/providers/conftest.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import annotations - -import os -from pathlib import Path -from typing import TYPE_CHECKING - -import pytest - -if TYPE_CHECKING: - from collections.abc import Iterator - - -@pytest.fixture -def chdir(tmp_path: Path) -> Iterator[Path]: - cwd = Path() - os.chdir(tmp_path) - yield tmp_path - os.chdir(cwd)