code: def testSequenceReusing(self):
      if "test" in self.g.vertex_attributes():
          del self.g.vs["test"]
  
      self.g.vs["test"] = ["A", "B", "C"]
      self.assertTrue(
          self.g.vs["test"]
          == ["A", "B", "C", "A", "B", "C", "A", "B", "C", "A"]
      )
      self.g.vs["test"] = "ABC"
      self.assertTrue(self.g.vs["test"] == ["ABC"] * 10)
  
      only_even = self.g.vs.select(lambda v: (v.index % 2 == 0))
      only_even["test"] = ["D", "E"]
      self.assertTrue(
          self.g.vs["test"]
          == [
              "D",
              "ABC",
              "E",
              "ABC",
              "D",
              "ABC",
              "E",
              "ABC",
              "D",
              "ABC",
          ]
      )
      del self.g.vs["test"]
      only_even["test"] = ["D", "E"]
      self.assertTrue(
          self.g.vs["test"]
          == ["D", None, "E", None, "D", None, "E", None, "D", None]
      )
  
imports: import unittest
  from igraph import Graph, Vertex, VertexSeq
  from .utils import is_pypy
label_desc: Use image node_id 6 for calling the VertexSeqTests obj's underlying member method code with example usage: obj.testSequenceReusing() without return types