Visitar URL original
docs: import os in the opening usage example (#612) · pytest-dev/pytest-mock@e24c334 · GitHub
Skip to content

Commit e24c334

Browse files
authored
docs: import os in the opening usage example (#612)
1 parent 9e7eb7b commit e24c334

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎docs/usage.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ supporting the same arguments:
88

99
.. code-block:: python
1010
11+
import os
12+
13+
1114
def test_foo(mocker):
1215
# all valid calls
1316
mocker.patch('os.remove')

0 commit comments

Comments
 (0)