honour --cython-only option in compiled unit tests and pyregr tests