code: def testRepr(self):
      output = repr(self.g.es[0])
      self.assertEqual(output, "igraph.Edge(%r, 0, {})" % self.g)
  
      self.g.es["weight"] = list(range(10, 0, -1))
      output = repr(self.g.es[3])
      self.assertEqual(
          output, "igraph.Edge(%r, 3, {'weight': 7})" % self.g
      )
  
imports: import unittest
  from igraph import Graph, Edge, EdgeSeq, VertexSeq
  from .utils import is_pypy
label_desc: Use image node_id 4 for calling the EdgeTests obj's underlying member method code with example usage: obj.testRepr() without return types