code: def test_constructor_no_coercion():
      with pytest.raises(ValueError, match="NumPy array"):
          NumpyExtensionArray([1, 2, 3])
  
imports: import numpy
  import pytest
  from pandas.core.dtypes.dtypes import NumpyEADtype
  import pandas
  import pandas._testing
  from pandas.arrays import NumpyExtensionArray
label_desc: Use image node_id 7 for calling a global function with example usage: test_constructor_no_coercion() without return types