docstr: Do we get the same thing as the old pixel access
  
  Using private interfaces, forcing a capi access and
  a pyaccess for the same image
docstr_tok: ["Do","we","get","the","same","thing","as","the","old","pixel","access","Using","private","interfaces",",","forcing","a","capi","access","and","a","pyaccess","for","the","same","image"]
code: def _test_get_access(self, im):
      """Do we get the same thing as the old pixel access
  
      Using private interfaces, forcing a capi access and
      a pyaccess for the same image"""
      caccess = im.im.pixel_access(False)
      access = PyAccess.new(im, False)
  
      w, h = im.size
      for x in range(0, w, 10):
          for y in range(0, h, 10):
              assert access[(x, y)] == caccess[(x, y)]
  
      # Access an out-of-range pixel
      with pytest.raises(ValueError):
          access[(access.xsize + 1, access.ysize + 1)]
  
imports: import ctypes
  import os
  import subprocess
  import sys
  import sysconfig
  import pytest
  from setuptools.command.build_ext import new_compiler
  from PIL import Image
  from .helper import assert_image_equal, hopper, is_win32, on_ci
label_desc: Use image node_id 1 for calling the TestCffi obj's underlying member method code with example usage: obj._test_get_access(im) without return types