code: def testUpdateAttributes(self):
      e = self.g.es[0]
  
      e.update_attributes(a=2)
      self.assertEqual(e["a"], 2)
  
      e.update_attributes([("a", 3), ("b", 4)], c=5, d=6)
      self.assertEqual(e.attributes(), {"a": 3, "b": 4, "c": 5, "d": 6})
  
      e.update_attributes({"b": 44, "c": 55})
      self.assertEqual(
          e.attributes(), {"a": 3, "b": 44, "c": 55, "d": 6}
      )
  
imports: import unittest
  from igraph import Graph, Edge, EdgeSeq, VertexSeq
  from .utils import is_pypy
label_desc: Use image node_id 5 for calling the EdgeTests obj's underlying member method code with example usage: obj.testUpdateAttributes() without return types