File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ from nibabel.pkg_info import get_pkg_info as _get_pkg_info
44
44
from nibabel .spm2analyze import Spm2AnalyzeHeader , Spm2AnalyzeImage
45
45
from nibabel .spm99analyze import Spm99AnalyzeHeader , Spm99AnalyzeImage
46
46
47
- try :
48
- from pytest import ExitCode # type: ignore[import] # noqa: PT013
49
- except (ImportError , ModuleNotFoundError ):
50
- class ExitCode (int ): ... # type: ignore[no-redef]
51
-
52
47
def get_info () -> dict [str , str ]: ...
53
48
def test (
54
49
label : Any = None ,
@@ -58,10 +53,10 @@ def test(
58
53
coverage : bool = False ,
59
54
raise_warnings : Any = None ,
60
55
timer : Any = False ,
61
- ) -> ExitCode : ...
56
+ ) -> int : ...
62
57
def bench (
63
58
label : Any = None , verbose : int = 1 , extra_argv : list [Any ] | None = None
64
- ) -> ExitCode : ...
59
+ ) -> int : ...
65
60
66
61
__all__ = [
67
62
'AnalyzeHeader' ,
You can’t perform that action at this time.
0 commit comments