code: def test_onnx_not_available_exception(datadir):
      with pytest.raises(DeferredImportError):
          neural_net = onnx.load(
              datadir.file("keras_linear_131_relu.onnx")
          )
  
file_path: OMLT/tests/neuralnet/test_onnx.py
imports: import tempfile
  import numpy
  import pytest
  from pyomo.common.dependencies import DeferredImportError
  from omlt.dependencies import onnx, onnx_available
  from pyomo.environ import *
  from omlt import OffsetScaling, OmltBlock
  from omlt.neuralnet import FullSpaceNNFormulation
label_desc: Use image node_id 1 for calling a global function with example usage: test_onnx_not_available_exception(datadir) without return types