8000 Remove `import patch` from example · python/cpython@68e6143 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68e6143

Browse files
eamanuJulienPalard
authored andcommitted
Remove import patch from example
1 parent 2d6d232 commit 68e6143

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Doc/library/unittest.mock.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,6 @@ patch.dict
15751575
:func:`patch.dict` can be used as a context manager, decorator or class
15761576
decorator:
15771577

1578-
>>> import patch
15791578
>>> foo = {}
15801579
>>> @patch.dict(foo, {'newkey': 'newvalue'})
15811580
... def test():

0 commit comments

Comments
 (0)
0