code: def test_no_input_shape_tensor_raise_error():
      with pytest.raises(ValueError, match="input_tensor"):
          resnet.HyperResNet(classes=10)
  
file_path: keras-tuner/keras_tuner/applications/resnet_test.py
imports: import os
  import numpy
  import pytest
  from keras_tuner.applications import resnet
  from keras_tuner.backend import config
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 8 for calling a global function with example usage: test_no_input_shape_tensor_raise_error() without return types