code: def testPartiallyAligned_Recursive(self):
      size = 20
      commonDateTimes = []
      ds1 = dataseries.SequenceDataSeries()
      ds2 = dataseries.SequenceDataSeries()
      ads1, ads2 = aligned.datetime_aligned(ds1, ds2)
      # Align the aligned dataseries again with respect to each other.
      ads1, ads2 = aligned.datetime_aligned(ads1, ads2)
  
      now = datetime.datetime.now()
      for i in xrange(size):
          if i % 3 == 0:
              commonDateTimes.append(
                  now + datetime.timedelta(seconds=i)
              )
              ds1.appendWithDateTime(
                  now + datetime.timedelta(seconds=i), i
              )
              ds2.appendWithDateTime(
                  now + datetime.timedelta(seconds=i), i
              )
          elif i % 2 == 0:
              ds1.appendWithDateTime(
                  now + datetime.timedelta(seconds=i), i
              )
          else:
              ds2.appendWithDateTime(
                  now + datetime.timedelta(seconds=i), i
              )
  
      self.assertEqual(len(ads1), len(ads2))
      self.assertEqual(ads1[:], ads2[:])
      self.assertEqual(ads1.getDateTimes(), commonDateTimes)
      self.assertEqual(ads2.getDateTimes(), commonDateTimes)
  
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
  from pyalgotrade.dataseries import aligned
  from pyalgotrade import bar
label_desc: Use image node_id 7 for calling the TestDateAlignedDataSeries obj's underlying member method code with example usage: obj.testPartiallyAligned_Recursive() without return types