code: def test_int_serializer():
      serializer = IntSerializer()
  
      for i in range(100):
          data, _ = serializer.serialize(i)
          assert isinstance(data, bytes)
          assert i == serializer.deserialize(data)
  
file_path: pytorch-lightning/tests/tests_data/streaming/test_serializer.py
imports: import os
  import sys
  from time import time
  import numpy
  import pytest
  import torch
  from lightning import seed_everything
  from lightning.data.streaming.serializers import _AV_AVAILABLE, _NUMPY_DTYPES_MAPPING, _SERIALIZERS, _TORCH_DTYPES_MAPPING, _TORCH_VISION_AVAILABLE, IntSerializer, NoHeaderNumpySerializer, NoHeaderTensorSerializer, NumpySerializer, PickleSerializer, PILSerializer, TensorSerializer, VideoSerializer
  from lightning_utilities.core.imports import RequirementCache
label_desc: Use image node_id 2 for calling a global function with example usage: test_int_serializer() without return types