code: def test_void_via_length(length):
      res = np.void(length)
      assert type(res) is np.void
      assert res.item() == b"\0" * 5
      assert res.dtype == "V5"
  
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_almost_equal, assert_warns
label_desc: Use image node_id 1 for calling a global function with example usage: test_void_via_length(length) without return types