code: def test_serializer_slots():
      s = IntSerializer()
      with pytest.raises(AttributeError):
          s.foo = True
  
file_path: bplustree/tests/test_serializer.py
imports: from datetime import datetime, timezone
  from unittest import mock
  import uuid
  import pytest
  from bplustree.serializer import IntSerializer, StrSerializer, UUIDSerializer, DatetimeUTCSerializer
label_desc: Use image node_id 2 for calling a global function with example usage: test_serializer_slots() without return types