code: def test_load_incorrect_data_from_tensors(
      input_data, input_targets, error_type, match
  ):
      with pytest.raises(error_type, match=match):
          VideoClassificationData.from_tensors(
              train_data=input_data,
              train_targets=input_targets,
              batch_size=1,
          )
  
file_path: lightning-flash/tests/video/classification/test_data.py
imports: from typing import Union
  import pytest
  import torch
  from flash.core.utilities.imports import _TOPIC_VIDEO_AVAILABLE
  from flash.video.classification.data import VideoClassificationData
label_desc: Use image node_id 6 for calling a global function with example usage: test_load_incorrect_data_from_tensors(input_data, input_targets, error_type, match) without return types