code: def testRemoveNone(self):
      l1 = Clustering([1, 1, 1, None, None, 2, 2, 2, 2])
      l2 = Clustering([1, 1, 2, 2, None, 2, 3, 3, None])
      self.assertAlmostEqual(
          compare_communities(l1, l2, "nmi", remove_none=True),
          0.5158,
          places=3,
      )
  
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 8 for calling the ComparisonTests obj's underlying member method code with example usage: obj.testRemoveNone() without return types