You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
title='Enhancement: give mock_open readline() and readlines() methods'updated_at=<Date2019-01-11.17:00:44.507>user='https://github.com/abadger'
unittest.mock provides a mock_open convenience function1. The convenience function handled file.read() but does not handle file.readline() or file.readlines(). I'll attach a patch that adds support for both of these methods.