code: def test_inout(self):
      # non-contiguous should raise error
      x = np.arange(6, dtype=np.float32)[::2]
      pytest.raises(ValueError, self.module.foo, x)
  
      # check values with contiguous array
      x = np.arange(3, dtype=np.float32)
      self.module.foo(x)
      assert np.allclose(x, [3, 1, 2])
  
file_path: catboost/contrib/python/numpy/py3/numpy/f2py/tests/test_regression.py
imports: import os
  import pytest
  import numpy
  from .None import util
label_desc: Use image node_id 1 for calling the TestIntentInOut obj's underlying member method code with example usage: obj.test_inout() without return types