code: def test_constructor_from_string():
      result = NumpyEADtype.construct_from_string("int64")
      expected = NumpyEADtype(np.dtype("int64"))
      assert result == expected
  
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 5 for calling a global function with example usage: test_constructor_from_string() without return types