File tree Expand file tree Collapse file tree
src/numpy-stubs/testing/_private Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,14 +166,14 @@ if sys.platform != "win32" and sys.platform != "cygwin" and sys.platform != "lin
166166 def memusage () -> NoReturn : ...
167167
168168elif sys .platform == "win32" or sys .platform == "cygwin" :
169- def memusage (processName : str = ... , instance : int = ... ) -> int : ...
169+ def memusage (processName : str = "python" , instance : int = 0 ) -> int : ...
170170
171171else :
172- def memusage (_proc_pid_stat : StrOrBytesPath = ... ) -> int | None : ...
172+ def memusage (_proc_pid_stat : StrOrBytesPath | None = None ) -> int | None : ...
173173
174174#
175175if sys .platform == "linux" :
176- def jiffies (_proc_pid_stat : StrOrBytesPath = ... , _load_time : list [float ] = [] ) -> int : ...
176+ def jiffies (_proc_pid_stat : StrOrBytesPath | None = None , _load_time : list [float ] | None = None ) -> int : ...
177177
178178else :
179179 def jiffies (_load_time : list [float ] = []) -> int : ...
You can’t perform that action at this time.
0 commit comments