code: def test_numpy_serializer_python_invalid_empty(numpy_serializer):
      with pytest.raises(ValueError) as error:
          numpy_serializer.serialize([])
      assert "empty array" in str(error)
  
imports: from __future__ import absolute_import
  import io
  import json
  import os
  import numpy
  import pytest
  import scipy.sparse
  from sagemaker.serializers import CSVSerializer, NumpySerializer, JSONSerializer, IdentitySerializer, SparseMatrixSerializer, JSONLinesSerializer, LibSVMSerializer, DataSerializer
  from tests.unit import DATA_DIR
label_desc: Use image node_id 22 for calling a global function with example usage: test_numpy_serializer_python_invalid_empty(numpy_serializer) without return types