code: def test_record_slots():
      r1 = Record(tree_conf, 42, b"foo")
      with pytest.raises(AttributeError):
          r1.foo = True
  
file_path: bplustree/tests/test_entry.py
imports: import pytest
  from bplustree.entry import Record, Reference, OpaqueData, NOT_LOADED
  from bplustree.const import TreeConf
  from bplustree.serializer import IntSerializer, StrSerializer
label_desc: Use image node_id 5 for calling a global function with example usage: test_record_slots() without return types