'Tests that the empty list is not a valid path, since there
should be a one-to-one correspondence between paths as lists of
nodes and paths as lists of edges.'

def test_empty_list(self):

    G = nx.trivial_graph()
    assert_false(nx.is_simple_path(G, []))
