code: def test_ufunc_raises():
      msg = "ufunc method 'at'"
      with pytest.raises(ValueError, match=msg):
          np.log.at(NA, 0)
  
imports: from datetime import date, time, timedelta
  import pickle
  import numpy
  import pytest
  from pandas._libs.missing import NA
  from pandas.core.dtypes.common import is_scalar
  import pandas
  import pandas._testing
label_desc: Use image node_id 21 for calling a global function with example usage: test_ufunc_raises() without return types