use old style type annotation
This commit is contained in:
@@ -252,7 +252,7 @@ def importorskip(
|
||||
modname: str,
|
||||
minversion: Optional[str] = None,
|
||||
reason: Optional[str] = None,
|
||||
exc: type[ImportError] = ImportError,
|
||||
exc: Type[ImportError] = ImportError,
|
||||
) -> Any:
|
||||
"""Import and return the requested module ``modname``, or skip the
|
||||
current test if the module cannot be imported.
|
||||
|
||||
Reference in New Issue
Block a user