def test_node_invalid_less_than(self):
    n = node(identity, 'input1', 'output1', name='a_node')
    pattern = "'<' not supported between instances of 'Node' and 'str'"
    with pytest.raises(TypeError, match=pattern):
        (n < 'hello')
def test_node_invalid_less_than(self):
    n = node(identity, 'input1', 'output1', name='a_node')
    pattern = "'<' not supported between instances of 'Node' and 'str'"
    with pytest.raises(TypeError, match=pattern):
        (n < 'hello')