          try:
              f.from_native('04:61:59')
          except validators.ValidationError as e:
              self.assertEqual(e.messages, ["Time has wrong format. Use one of these formats instead: "
                                            "HH:MM; HH:MM:SS; HH:MM:SS.uuuuuu"])
          else:
              self.fail("ValidationError was not properly raised")
  
      def test_from_native_invalid_format(self):
          """
 
</s> remove                                           "HH:MM; HH:MM:SS; HH:MM:SS.uuuuuu"])
 </s> add                                           "HH:MM[:ss[.uuuuuu]]"]) </s> remove                                           "YYYY-MM-DD; YYYY-MM-DD HH:MM; YYYY-MM-DD HH:MM:SS; "
                                          "YYYY-MM-DD HH:MM:SS.uuuuuu"])
 </s> add                                           "YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]"]) </s> remove                                           "YYYY-MM-DD; YYYY-MM-DD HH:MM; YYYY-MM-DD HH:MM:SS; "
                                          "YYYY-MM-DD HH:MM:SS.uuuuuu"])
 </s> add                                           "YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]"]) </s> remove             try:
                parsed = datetime.datetime.strptime(value, format)
            except (ValueError, TypeError):
                pass
 </s> add             if format.lower() == ISO8601:
                try:
                    parsed = parse_time(value)
                except (ValueError, TypeError):
                    pass
                else:
                    if parsed is not None:
                        return parsed </s> remove             try:
                parsed = datetime.datetime.strptime(value, format)
            except (ValueError, TypeError):
                pass
 </s> add             if format.lower() == ISO8601:
                try:
                    parsed = parse_date(value)
                except (ValueError, TypeError):
                    pass
                else:
                    if parsed is not None:
                        return parsed
                                          "HH:MM[:ss[.uuuuuu]]"])
          try:
              f.from_native('04:61:59')
          except validators.ValidationError as e:
              self.assertEqual(e.messages, ["Time has wrong format. Use one of these formats instead: "
                                          "HH:MM[:ss[.uuuuuu]]"])
          else:
              self.fail("ValidationError was not properly raised")
  
      def test_from_native_invalid_format(self):
          """
keep keep keep keep replace keep keep keep keep keep
 Add new ISO8601 setting + integration 
rest_framework/tests/fields.py