code: def test_1Darray(self):
      im = pyvips.Image.new_from_array([1, 2, 3, 4])
      assert im.width == 4
      assert im.height == 1
  
file_path: pyvips/tests/test_constants.py
imports: import pyvips
label_desc: Use image node_id 2 for calling the TestConstants obj's underlying member method code with example usage: obj.test_1Darray() without return types