code: def test_node_degree_xy_multigraph(self):
      xy = sorted(nx.node_degree_xy(self.M))
      xy_result = sorted(
          [
              (2, 3),
              (2, 3),
              (3, 2),
              (3, 2),
              (2, 3),
              (3, 2),
              (1, 2),
              (2, 1),
          ]
      )
      assert xy == xy_result
  
file_path: networkx/networkx/algorithms/assortativity/tests/test_pairs.py
imports: import networkx
  from .base_test import BaseTestAttributeMixing, BaseTestDegreeMixing
label_desc: Use image node_id 4 for calling the TestDegreeMixingXY obj's underlying member method code with example usage: obj.test_node_degree_xy_multigraph() without return types