code: def test_src(self):
      with pytest.raises(ValueError, match="src cannot be empty"):
          VideoReader(src="")
      with pytest.raises(ValueError, match="src must be either string"):
          VideoReader(src=2)
      with pytest.raises(
          TypeError, match="unexpected keyword argument"
      ):
          VideoReader(path="path")
  
file_path: vision/test/test_videoapi.py
imports: import collections
  import os
  import urllib
  import pytest
  import torch
  import torchvision
  from pytest import approx
  from torchvision.datasets.utils import download_url
  from torchvision.io import _HAS_VIDEO_OPT, VideoReader
label_desc: Use image node_id 8 for calling the TestVideoApi obj's underlying member method code with example usage: obj.test_src() without return types