try literal mock

a modified copy&paste didn't work to get around the C dependency problem on
RTD. Now trying with the literal copy&paste.

Signed-off-by: Erik Bernoth <erik.bernoth@gmail.com>