import pytest @pytest.fixture def temp_dir(tmp_path): """Provide a temporary directory.""" return tmp_path