For some reason nosetests doesn't like PIPE