code: def test_keypoints_get_set():
      kpts_data = np.array([[0, 0], [0, 1], [1, 0], [1, 1]]).reshape(
          (4, 2)
      )
      kpts = slc.Keypoints(kpts_data, 3, 4)
  
      assert np.array_equal(kpts[0], np.array([0, 0]))
      kpts[0] = np.array([2, 2])
      assert np.array_equal(kpts[0], np.array([2, 2]))
  
      with pytest.raises(TypeError):
          kpts[0] = [2, 2]
  
imports: import itertools
  import random
  import cv2
  import numpy
  import pytest
  import torch
  import solt.core
  import solt.transforms
  import solt.utils
  from .fixtures import *
label_desc: Use image node_id 40 for calling a global function with example usage: test_keypoints_get_set() without return types