docstr: Test words_closer_than returns expected value for distinct and identical nodes.
docstr_tok: ["Test","words_closer_than","returns","expected","value","for","distinct","and","identical","nodes","."]
code: def test_closer_than(self):
      """Test words_closer_than returns expected value for distinct and identical nodes."""
      self.assertEqual(self.vectors.closer_than("war", "war"), [])
      expected = set(["conflict", "administration"])
      self.assertEqual(
          set(self.vectors.closer_than("war", "terrorism")), expected
      )
  
imports: import functools
  import logging
  import unittest
  import numpy
  from gensim.models.keyedvectors import KeyedVectors, REAL, pseudorandom_weak_vector
  from gensim.test.utils import datapath
  import gensim.models.keyedvectors
label_desc: Use image node_id 19 for calling the TestKeyedVectors obj's underlying member method code with example usage: obj.test_closer_than() without return types