code: def test_select_query_with_same_vertex_edge_field(self):
      vertices = SFrame({"__id": range(10)})
      edges = SFrame({"__src_id": range(10), "__dst_id": range(1, 11)})
      g = SGraph(vertices, edges)
      g.vertices["weight"] = 0
      g.vertices["v"] = 0
      g.edges["weight"] = 0
      g.edges["e"] = 0
      self.assertItemsEqual(
          g.get_fields(),
          [
              "v",
              "e",
              "weight",
              "weight",
              "__id",
              "__src_id",
              "__dst_id",
          ],
      )
      g2 = g.select_fields("weight")
      self.assertItemsEqual(
          g2.get_fields(),
          ["weight", "weight", "__id", "__src_id", "__dst_id"],
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..data_structures.sgraph import SGraph, Vertex, Edge, load_sgraph
  from ..data_structures.sframe import SFrame
  from .None import util
  import pandas
  from pandas.util.testing import assert_frame_equal
  import numpy
  import unittest
  import tempfile
  import json
  import os
  import sys
  import pytest
label_desc: Use image node_id 7 for calling the GraphTests obj's underlying member method code with example usage: obj.test_select_query_with_same_vertex_edge_field() without return types