code: def test_test_format(self):
      datetime_type = DateTime(datetime_format="%m-%d-%Y %I:%M %p")
  
      self.assertEqual(datetime_type.test("3/1/1994 12:30 PM"), False)
      self.assertEqual(datetime_type.test("03-01-1994 12:30 PM"), True)
      self.assertEqual(
          datetime_type.test(datetime.datetime(1994, 3, 1, 12, 30)),
          True,
      )
  
imports: import datetime
  import pickle
  import unittest
  from decimal import Decimal
  import parsedatetime
  from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
  from agate.exceptions import CastError
label_desc: Use image node_id 3 for calling the TestDateTime obj's underlying member method code with example usage: obj.test_test_format() without return types