def METHOD_NAME(self, dtype):
    if cuda.runtime.deviceCanAccessPeer(0, 1) == 1:
        pytest.skip('peer access is available')
    with self.assertRaises(ValueError):
        self.check_copy(dtype, 0, 1)