docstr: Tests error is rased if number of negatives to sample is more than remaining nodes.
code: def test_error_if_negative_more_than_population(self):
      """Tests error is rased if number of negatives to sample is more than remaining nodes."""
      model = PoincareModel(self.data, negative=5)
      with self.assertRaises(ValueError):
          model.train(epochs=1)
  
imports: import logging
  import os
  import tempfile
  import unittest
  import numpy
  from gensim.models.poincare import PoincareRelations, PoincareModel, PoincareKeyedVectors
  from gensim.test.utils import datapath
label_desc: Use image node_id 22 for calling the TestPoincareModel obj's underlying member method code with example usage: obj.test_error_if_negative_more_than_population() without return types