MCPcopy Create free account
hub / github.com/pytest-dev/pytest / numpy_like

Class numpy_like

testing/code/test_excinfo.py:1430–1436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1428 """
1429
1430 class numpy_like:
1431 def __eq__(self, other):
1432 if type(other) is numpy_like:
1433 raise ValueError(
1434 "The truth value of an array "
1435 "with more than one element is ambiguous."
1436 )
1437
1438 def a(x):
1439 return b(numpy_like())

Callers 3

aFunction · 0.85
bFunction · 0.85

Calls

no outgoing calls

Tested by 3

aFunction · 0.68
bFunction · 0.68