code: def test_check_warning(tmpdir, model, x):
      path = str(tmpdir)
      with pytest.warns(None):
          export_testcase(
              model, (x,), os.path.join(path, "with_testcase")
          )
      with pytest.warns(None):
          export(
              model,
              (x,),
              os.path.join(path, "no_testcase.onnx"),
              no_testcase=True,
          )
      with pytest.warns(DeprecationWarning):
          export(model, (x,), os.path.join(path, "model.onnx"))
  
file_path: chainer/tests/onnx_chainer_tests/test_export_testcase.py
imports: import os
  import chainer
  import chainer.functions
  import chainer.links
  import numpy
  import onnx
  import pytest
  from onnx_chainer import export_testcase
  from onnx_chainer import export
label_desc: Use image node_id 5 for calling a global function with example usage: test_check_warning(tmpdir, model, x) without return types