code: def test_void_arraylike_trumps_byteslike():
      # The memoryview is converted as an array-like of shape (18,)
      # rather than a single bytes-like of that length.
      m = memoryview(b"just one mintleaf?")
      res = np.void(m)
      assert type(res) is np.ndarray
      assert res.dtype == "V1"
      assert res.shape == (18,)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_almost_equal, assert_warns
label_desc: Use image node_id 3 for calling a global function with example usage: test_void_arraylike_trumps_byteslike() without return types