code: def test_at_applied_for_rows(self):
      # GH#48729 .at should raise InvalidIndexError when assigning rows
      df = DataFrame(index=["a"], columns=["col1", "col2"])
      new_row = [123, 15]
      with pytest.raises(
          InvalidIndexError,
          match=f"You can only assign a scalar value not a \\{type(new_row)}",
      ):
          df.at["a"] = new_row
  
imports: from datetime import datetime, timezone
  import numpy
  import pytest
  from pandas.errors import InvalidIndexError
  from pandas import CategoricalDtype, CategoricalIndex, DataFrame, DatetimeIndex, Index, MultiIndex, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 8 for calling the TestAtErrors obj's underlying member method code with example usage: obj.test_at_applied_for_rows() without return types