docstr: ...Test attributes of HawkesEM are correctly inherited
          
docstr_tok: ["...","Test","attributes","of","HawkesEM","are","correctly","inherited"]
code: def test_hawkes_em_attributes(self):
      """...Test attributes of HawkesEM are correctly inherited"""
      em = HawkesEM(kernel_support=10)
      em.fit(self.events)
      self.assertEqual(em.n_nodes, self.n_nodes)
      self.assertEqual(em.n_realizations, self.n_realizations)
  
imports: import unittest
  import numpy
  from tick.hawkes.inference import HawkesEM
  from tick.hawkes.model.tests.model_hawkes_test_utils import hawkes_intensities, hawkes_log_likelihood
  from tick.hawkes import SimuHawkes, HawkesKernelTimeFunc, HawkesKernelExp, SimuHawkesExpKernels
  from tick.base import TimeFunction
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_em_attributes() without return types