code: def testPredictionNotChangeModel(self):
      timeSeries = [1, 2, 1, 5, 3, 5, 4, 8, 1, 2]
  
      dlm1 = dlm(timeSeries) + trend(degree=2, discount=0.95)
      dlm1.fitForwardFilter()
      (obs1, var1) = dlm1.predictN(N=1, date=dlm1.n - 1)
  
      dlm2 = dlm([]) + trend(degree=2, discount=0.95)
      for d in timeSeries:
          dlm2.append([d], component="main")
          dlm2.fitForwardFilter()
          (obs2, var2) = dlm2.predictN(N=1, date=dlm2.n - 1)
  
      self.assertAlmostEqual(obs1, obs2)
      self.assertAlmostEqual(var1, var2)
  
imports: import numpy
  import unittest
  from pydlm.modeler.trends import trend
  from pydlm.modeler.seasonality import seasonality
  from pydlm.modeler.dynamic import dynamic
  from pydlm.modeler.autoReg import autoReg
  from pydlm.dlm import dlm
label_desc: Use image node_id 20 for calling the testDlm obj's underlying member method code with example usage: obj.testPredictionNotChangeModel() without return types