code: def testParseFileVersion_invalidFileVersion(self):
      with mock.patch.object(
          logger, "warning", autospec=True, spec_set=True
      ) as mock_log:
          version = event_util.ParseFileVersion("invalid")
          self.assertEqual(version, -1)
      mock_log.assert_called_once_with(
          "Invalid event.proto file_version. Defaulting to use of "
          "out-of-order event.step logic for purging expired events."
      )
  
file_path: tensorboard/tensorboard/backend/event_processing/event_util_test.py
imports: from unittest import mock
  from tensorboard import test
  from tensorboard.backend.event_processing import event_util
  from tensorboard.compat.proto import event_pb2
  from tensorboard.util import tb_logging
label_desc: Use image node_id 2 for calling the EventUtilTest obj's underlying member method code with example usage: obj.testParseFileVersion_invalidFileVersion() without return types