[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
dc2080f3be
commit
f34091f0ec
|
@ -249,7 +249,9 @@ def xfail(reason: str = "") -> NoReturn:
|
||||||
|
|
||||||
|
|
||||||
def importorskip(
|
def importorskip(
|
||||||
modname: str, minversion: Optional[str] = None, reason: Optional[str] = None,
|
modname: str,
|
||||||
|
minversion: Optional[str] = None,
|
||||||
|
reason: Optional[str] = None,
|
||||||
exc: type[ImportError] = ImportError,
|
exc: type[ImportError] = ImportError,
|
||||||
) -> Any:
|
) -> Any:
|
||||||
"""Import and return the requested module ``modname``, or skip the
|
"""Import and return the requested module ``modname``, or skip the
|
||||||
|
|
Loading…
Reference in New Issue