diff options
-rw-r--r-- | docs/helpers.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/helpers.txt b/docs/helpers.txt index 6bd2950..571b71d 100644 --- a/docs/helpers.txt +++ b/docs/helpers.txt @@ -268,6 +268,7 @@ enough that a helper function is useful. .. doctest:: + >>> from mock import mock_open >>> m = mock_open() >>> with patch('__main__.open', m, create=True): ... with open('foo', 'w') as h: |