From 9dd0c378304e54673c269a7e8eb3fdc67bbe795c Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Mon, 4 Mar 2024 17:09:22 -0800 Subject: [PATCH] feat(ingest): fix fspath lint error (#9976) --- metadata-ingestion/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/tests/conftest.py b/metadata-ingestion/tests/conftest.py index eb58ad40abb30..d0716e34ee2b6 100644 --- a/metadata-ingestion/tests/conftest.py +++ b/metadata-ingestion/tests/conftest.py @@ -69,7 +69,7 @@ def pytest_collection_modifyitems( integration_path = root / "tests/integration" for item in items: - test_path = pathlib.Path(item.fspath) + test_path = item.path if ( "docker_compose_runner" in item.fixturenames # type: ignore[attr-defined]