code: def test_record_scalar_setitem(self):
      # https://github.com/numpy/numpy/issues/3561
      rec = np.recarray(1, dtype=[("x", float, 5)])
      rec[0].x = 1
      assert_equal(rec[0].x, np.ones(5))
  
imports: import collections.abc
  import textwrap
  from io import BytesIO
  from os import path
  from pathlib import Path
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, temppath
  from numpy.compat import pickle
label_desc: Use image node_id 12 for calling the TestRecord obj's underlying member method code with example usage: obj.test_record_scalar_setitem() without return types