code: def test_data_logger_val_invalid(wandb_init):
      run = wandb_init()
      with pytest.raises(AssertionError):
          _ = ValidationDataLogger(
              inputs={
                  "ia": np.array([[i, i, i] for i in range(10)]),
                  "ib": np.array([[i, i, i] for i in range(10)]),
              },
              targets=None,
              indexes=None,
              validation_row_processor=None,
              prediction_row_processor=None,
              class_labels=None,
              infer_missing_processors=False,
          )
      run.finish()
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_validation_data_logger.py
imports: import numpy
  import pytest
  import wandb
  import wandb.data_types
  from wandb.sdk.integration_utils.data_logging import CAN_INFER_IMAGE_AND_VIDEO, ValidationDataLogger
label_desc: Use image node_id 4 for calling a global function with example usage: test_data_logger_val_invalid(wandb_init) without return types