def test_node_equals(self):
    first = node(identity, 'input1', 'output1', name='a_node')
    second = node(identity, 'input1', 'output1', name='a_node')
    assert (first == second)
    assert (first is not second)
def test_node_equals(self):
    first = node(identity, 'input1', 'output1', name='a_node')
    second = node(identity, 'input1', 'output1', name='a_node')
    assert (first == second)
    assert (first is not second)