code: def testSubgraphEdges(self):
      g = Graph.Lattice([10, 10], circular=False, mutual=False)
      g.es["id"] = list(range(g.ecount()))
  
      es = [0, 1, 2, 5, 20, 21, 22, 24, 38, 40]
      sg = g.subgraph_edges(es)
      exp = Graph.Lattice([3, 3], circular=False, mutual=False)
      exp.delete_edges([7, 8])
  
      self.assertTrue(sg.isomorphic(exp))
      self.assertTrue(sg.es["id"] == es)
  
imports: import math
  import random
  import unittest
  from igraph import Clustering, CohesiveBlocks, Cover, Graph, Histogram, InternalError, UniqueIdGenerator, VertexClustering, compare_communities, split_join_distance, set_random_number_generator
label_desc: Use image node_id 2 for calling the SubgraphTests obj's underlying member method code with example usage: obj.testSubgraphEdges() without return types