code: def test_conv_invalid(
      device,
      x_shape,
      w_shape,
      b_shape,
      stride,
      pad,
      cover_all,
      float_dtype,
  ):
      with pytest.raises(chainerx.DimensionError):
          chainerx.conv(
              *_create_conv_args(
                  chainerx,
                  device,
                  x_shape,
                  w_shape,
                  b_shape,
                  stride,
                  pad,
                  cover_all,
                  float_dtype,
              )
          )
  
imports: import unittest
  import chainer
  from chainer import functions
  import numpy
  import pytest
  import chainerx
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_conv_invalid(device, x_shape, w_shape, b_shape, stride, pad, cover_all, float_dtype) without return types