

def test_fill_DateTimeField_with_a_datetime(self):
    appointment_field = Person._meta.get_field('appointment')
    self.assertIsInstance(appointment_field, DateTimeField)
    self.assertIsInstance(appointment_field.person.appointment, datetime)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py DateTimeFieldsFilling.test_fill_DateTimeField_with_a_datetime/VarMisuse@34/58 `self`->`appointment_field`