Skip to content

Commit c2a7111

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent a2804e0 commit c2a7111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydatastructs/graphs/tests/test_adjacency_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_adjacency_list():
6262
assert g2.num_edges() == 3
6363
assert g2.num_vertices() == 3
6464
neighbors = g2.neighbors('v_4')
65-
assert neighbors == [v_6, v_5]
65+
assert set(neighbors) == {v_6, v_5}
6666
v = AdjacencyListGraphNode('v', 4, backend = Backend.CPP)
6767
g2.add_vertex(v)
6868
g2.add_edge('v_4', 'v', 0)

0 commit comments

Comments
 (0)