          """
          Make sure from_native() accepts a datetime.datetime instance.
          """
          f = serializers.DateTimeField()
          result_1 = f.from_native(datetime.datetime(1984, 7, 31))
          result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
          result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
          result_4 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
  
          self.assertEqual(result_1, datetime.datetime(1984, 7, 31))
          self.assertEqual(result_2, datetime.datetime(1984, 7, 31, 4, 31))
          self.assertEqual(result_3, datetime.datetime(1984, 7, 31, 4, 31, 59))
          self.assertEqual(result_4, datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
 
</s> remove         self.assertEqual(result_1, datetime.datetime(1984, 7, 31))
        self.assertEqual(result_2, datetime.datetime(1984, 7, 31, 4, 31))
        self.assertEqual(result_3, datetime.datetime(1984, 7, 31, 4, 31, 59))
        self.assertEqual(result_4, datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
 </s> add         self.assertEqual(result_1, datetime.datetime(1984, 7, 31, 4, 31))
        self.assertEqual(result_2, datetime.datetime(1984, 7, 31, 4, 31, 59))
        self.assertEqual(result_3, datetime.datetime(1984, 7, 31, 4, 31, 59, 200)) </s> remove         self.assertEqual(datetime.datetime(1984, 7, 31), result_1)
        self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31), result_2)
        self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31, 59), result_3)
        self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31, 59, 200), result_4)
 </s> add         self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31), result_1)
        self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31, 59), result_2)
        self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31, 59, 200), result_3) </s> remove         result_1 = f.from_native('1984-07-31')
        result_2 = f.from_native('1984-07-31 04:31')
        result_3 = f.from_native('1984-07-31 04:31:59')
        result_4 = f.from_native('1984-07-31 04:31:59.000200')
 </s> add         result_1 = f.from_native('1984-07-31 04:31')
        result_2 = f.from_native('1984-07-31 04:31:59')
        result_3 = f.from_native('1984-07-31 04:31:59.000200') </s> remove                 return parsed.date()
 </s> add                 try:
                    parsed = datetime.datetime.strptime(value, format)
                except (ValueError, TypeError):
                    pass
                else:
                    return parsed.date()
        result_1 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
        result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
        result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
          """
          Make sure from_native() accepts a datetime.datetime instance.
          """
          f = serializers.DateTimeField()
        result_1 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
        result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
        result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
        result_1 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
        result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
        result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
        result_1 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
        result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
        result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
        result_1 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31))
        result_2 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59))
        result_3 = f.from_native(datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
  
          self.assertEqual(result_1, datetime.datetime(1984, 7, 31))
          self.assertEqual(result_2, datetime.datetime(1984, 7, 31, 4, 31))
          self.assertEqual(result_3, datetime.datetime(1984, 7, 31, 4, 31, 59))
          self.assertEqual(result_4, datetime.datetime(1984, 7, 31, 4, 31, 59, 200))
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Add new ISO8601 setting + integration 
rest_framework/tests/fields.py