          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')
  
          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)
  
      def test_from_native_datetime_datetime(self):
          """
          Make sure from_native() accepts a datetime.datetime instance.
          """
 
</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         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))
 </s> add         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)) </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         time_input_formats = '; '.join(self.input_formats)
 </s> add         time_input_formats = '; '.join(self.input_formats).replace(ISO8601, 'HH:MM[:ss[.uuuuuu]]') </s> remove         date_input_formats = '; '.join(self.input_formats)
 </s> add         date_input_formats = '; '.join(self.input_formats).replace(ISO8601, 'YYYY-MM-DD')
        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)
          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')
  
        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)
        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)
        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)
        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)
  
      def test_from_native_datetime_datetime(self):
          """
          Make sure from_native() accepts a datetime.datetime instance.
          """
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Add new ISO8601 setting + integration 
rest_framework/tests/fields.py