'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'

def _test_get_access(self, im):

    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):
            self.assertEqual(access[(x, y)], caccess[(x, y)])
    self.assertRaises(ValueError, (lambda : access[((access.xsize + 1), (access.ysize + 1))]))
