Fix mock_open docstring to use readline (#11176)

Backports: 71f82a2f2085464f5ec99c16bce57bd1631733bd
Signed-off-by: Chris Withers <chris@withers.org>
1 file changed