Use pytest bundled with astropy