Yelp/mrjob — pull request #407 by irskep (2012-03-23 23:42:25+00:00)
Title: mockssh brought in-process by mocking monkey patching Popen

This is a demonstration of retaining test coverage while moving things like `mockssh` in-process. I also refactored `mockssh` to use a class to store the stdin object, etc.

The interface is still slightly funky, but further improvements would have taken more time than I was willing to invest. Almost all of the `mockssh` code is functionally unchanged.