'Tests that a list whose sole element is an object not in the
graph is not considered a simple path.'

def test_trivial_nonpath(self):

    G = nx.trivial_graph()
    assert_false(nx.is_simple_path(G, ['not    a    node']))
