MCPcopy Index your code
hub / github.com/numpy/numpy / main

Method main

numpy/_core/tests/test_errstate.py:119–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 assert np.geterr()["invalid"] == "print"
118
119 async def main():
120 # simply run all three function multiple times:
121 await asyncio.gather(
122 func1(), func2(), func3(), func1(), func2(), func3(),
123 func1(), func2(), func3(), func1(), func2(), func3())
124
125 loop = asyncio.new_event_loop()
126 with np.errstate(invalid="warn"):

Callers 1

__call__Method · 0.80

Calls 3

func1Function · 0.85
func2Function · 0.85
func3Function · 0.85

Tested by

no test coverage detected