trying to fix broken python cursor tests