hpk42/pytest — pull request #7 by burrowsa (2013-12-04 23:16:59+00:00)
Title: Fix for https://code.google.com/p/mock/issues/detail?id=203

This fix ensures that tests decorated with @mock.patch keep their names in the py.test output.

I've got an integration test that combines mock.patch and pytest here:

https://github.com/burrowsa/pytest_mock_integration_test

While I'm not sure that the test is a good candidate for adding to pytest (as it depends on mock) it does show the problem is solved by this fix.