Copied verbatim from the py.test integration notes, but acknowledged.