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

Method __eq__

testing/code/test_excinfo.py:1431–1436  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected