diff --git a/networkx/algorithms/connectivity/cuts.py b/networkx/algorithms/connectivity/cuts.py
index 846cd4729..dd59e3db9 100644
--- a/networkx/algorithms/connectivity/cuts.py
+++ b/networkx/algorithms/connectivity/cuts.py
@@ -281,7 +281,7 @@ def minimum_st_node_cut(G, s, t, flow_func=None, auxiliary=None, residual=None):
     if mapping is None:
         raise nx.NetworkXError('Invalid auxiliary digraph.')
     if G.has_edge(s, t) or G.has_edge(t, s):
-        return []
+        return {}
     kwargs = dict(flow_func=flow_func, residual=residual, auxiliary=H)
 
     # The edge cut in the auxiliary digraph corresponds to the node cut in the

diff --git a/networkx/algorithms/connectivity/tests/test_cuts.py b/networkx/algorithms/connectivity/tests/test_cuts.py
index b98fbfa5e..257797a6f 100644
--- a/networkx/algorithms/connectivity/tests/test_cuts.py
+++ b/networkx/algorithms/connectivity/tests/test_cuts.py
@@ -268,7 +268,7 @@ def tests_minimum_st_node_cut():
     G.add_nodes_from([0, 1, 2, 3, 7, 8, 11, 12])
     G.add_edges_from([(7, 11), (1, 11), (1, 12), (12, 8), (0, 1)])
     nodelist = minimum_st_node_cut(G, 7, 11)
-    assert(nodelist == [])
+    assert(nodelist == {})
 
 
 def test_invalid_auxiliary():

`minimum_st_node_cut` returns empty list instead of set for adjacent nodes
https://github.com/networkx/networkx/blob/3f4f9c3379a5d70fc58852154aab7b1051ff96d6/networkx/algorithms/connectivity/cuts.py#L284

Should read `return {}`. Was questioning my sanity for a bit there 😉
networkx/algorithms/connectivity/tests/test_cuts.py::tests_minimum_st_node_cut
networkx/algorithms/connectivity/tests/test_cuts.py::test_articulation_points networkx/algorithms/connectivity/tests/test_cuts.py::test_brandes_erlebach_book networkx/algorithms/connectivity/tests/test_cuts.py::test_white_harary_paper networkx/algorithms/connectivity/tests/test_cuts.py::test_petersen_cutset networkx/algorithms/connectivity/tests/test_cuts.py::test_octahedral_cutset networkx/algorithms/connectivity/tests/test_cuts.py::test_icosahedral_cutset networkx/algorithms/connectivity/tests/test_cuts.py::test_node_cutset_exception networkx/algorithms/connectivity/tests/test_cuts.py::test_node_cutset_random_graphs networkx/algorithms/connectivity/tests/test_cuts.py::test_edge_cutset_random_graphs networkx/algorithms/connectivity/tests/test_cuts.py::test_empty_graphs networkx/algorithms/connectivity/tests/test_cuts.py::test_unbounded networkx/algorithms/connectivity/tests/test_cuts.py::test_missing_source networkx/algorithms/connectivity/tests/test_cuts.py::test_missing_target networkx/algorithms/connectivity/tests/test_cuts.py::test_not_weakly_connected networkx/algorithms/connectivity/tests/test_cuts.py::test_not_connected networkx/algorithms/connectivity/tests/test_cuts.py::tests_min_cut_complete networkx/algorithms/connectivity/tests/test_cuts.py::tests_min_cut_complete_directed networkx/algorithms/connectivity/tests/test_cuts.py::test_invalid_auxiliary networkx/algorithms/connectivity/tests/test_cuts.py::test_interface_only_source networkx/algorithms/connectivity/tests/test_cuts.py::test_interface_only_target