Update pytest import_path location (#29154)

* Update to pull function from proper lib

* Fix ruff formatting error

* Remove accidently added file
This commit is contained in:
Logan Adams
2024-03-05 04:23:34 -08:00
committed by GitHub
parent 8f3f8e6766
commit 9c5e560924

View File

@@ -137,9 +137,9 @@ if is_pytest_available():
_is_mocked, _is_mocked,
_patch_unwrap_mock_aware, _patch_unwrap_mock_aware,
get_optionflags, get_optionflags,
import_path,
) )
from _pytest.outcomes import skip from _pytest.outcomes import skip
from _pytest.pathlib import import_path
from pytest import DoctestItem from pytest import DoctestItem
else: else:
Module = object Module = object