During the collapse of a star to a black hole the geometry on the outside of the sphere is the Schwarzschild geometry. However the geometry inside is, curiously enough, the same Robertson-Walker geometry as in the rest of the observable universe.