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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user