MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _ArrayLike

Class _ArrayLike

tests/test_cluster.py:520–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518
519def test_cluster_digraph_reciprocal_edges_with_array_like_metadata():
520 class _ArrayLike:
521 def __ne__(self, other):
522 raise ValueError("The truth value of an array is ambiguous")
523
524 G = nx.DiGraph()
525 G.add_edge("a", "b", weight=1.0, embedding=_ArrayLike())

Calls

no outgoing calls