code: def test_to_tensor_normalization_no_mean_std() -> None:
      """
      This function tests the ToTensor transform when men/std normalization is enabled, but the mean/std are not provided
      """
      parser = argparse.ArgumentParser()
      parser = pil_transforms.ToTensor.add_arguments(parser)
  
      opts = parser.parse_args([])
      setattr(
          opts,
          "image_augmentation.to_tensor.mean_std_normalization.enable",
          True,
      )
  
      with pytest.raises(AssertionError):
          pil_transforms.ToTensor(opts=opts)
  
file_path: ml-cvnets/tests/transforms/test_image.py
imports: import argparse
  import random
  from typing import Tuple, Union
  import pytest
  import torch
  from PIL import Image
  from data.transforms import image_pil
  from data.transforms import image_torch
label_desc: Use image node_id 5 for calling a global function with example usage: test_to_tensor_normalization_no_mean_std() without return types