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.Dismiss alert
01000-mock_open-methods.patch: 3rd version of the mock_open patch -- docs and read/readline/readlines draw from the same read_data
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
GitHub fields:
assignee='https://github.com/voidspace'closed_at=<Date2013-03-20.00:22:57.778>created_at=<Date2013-03-18.20:09:13.694>labels= ['type-feature']
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.
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
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: