code: def test_at_with_duplicate_axes_requires_scalar_lookup(self):
      # GH#33041 check that falling back to loc doesn't allow non-scalar
      #  args to slip in
  
      arr = np.random.default_rng(2).standard_normal(6).reshape(3, 2)
      df = DataFrame(arr, columns=["A", "A"])
  
      msg = "Invalid call for scalar access"
      with pytest.raises(ValueError, match=msg):
          df.at[[1, 2]]
      with pytest.raises(ValueError, match=msg):
          df.at[1, ["A"]]
      with pytest.raises(ValueError, match=msg):
          df.at[:, "A"]
  
      with pytest.raises(ValueError, match=msg):
          df.at[[1, 2]] = 1
      with pytest.raises(ValueError, match=msg):
          df.at[1, ["A"]] = 1
      with pytest.raises(ValueError, match=msg):
          df.at[:, "A"] = 1
  
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 1 for calling the TestAtWithDuplicates obj's underlying member method code with example usage: obj.test_at_with_duplicate_axes_requires_scalar_lookup() without return types