mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 10:12:23 +06:00
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:
parent
8f3f8e6766
commit
9c5e560924
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user