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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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