MCPcopy Create free account
hub / github.com/numpy/numpy / __init__

Method __init__

numpy/testing/_private/utils.py:1982–1985  ·  view source on GitHub ↗
(self, record=False, modules=())

Source from the content-addressed store, hash-verified

1980 class_modules = ()
1981
1982 def __init__(self, record=False, modules=()):
1983 self.modules = set(modules).union(self.class_modules)
1984 self._warnreg_copies = {}
1985 super().__init__(record=record)
1986
1987 def __enter__(self):
1988 for mod in self.modules:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected