fix pyregr test runner