Remove mock stdout. Nosetest captures stdout by default.
Change the capture() context manager to tee output.