summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-07-17 10:00:28 (GMT)
committerRobert Collins <rbtcollins@hp.com>2015-07-17 10:00:28 (GMT)
commit1a8008127207e70b13ceec651524da7f2c4831bc (patch)
tree488b62e0b7bf927886fcf11b75b58a24cf493079 /Lib/unittest
parent4838717b53eaaa686f301458d298751893e58055 (diff)
parent92b3e065172940f546374c4285988b69497c88f5 (diff)
downloadcpython-1a8008127207e70b13ceec651524da7f2c4831bc.zip
cpython-1a8008127207e70b13ceec651524da7f2c4831bc.tar.gz
cpython-1a8008127207e70b13ceec651524da7f2c4831bc.tar.bz2
Typo fix in mock.patch.
Patch from https://github.com/testing-cabal/mock/issues/215
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 86043b0..e10d31c 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -1480,7 +1480,7 @@ def patch(
used.
A more powerful form of `spec` is `autospec`. If you set `autospec=True`
- then the mock with be created with a spec from the object being replaced.
+ then the mock will be created with a spec from the object being replaced.
All attributes of the mock will also have the spec of the corresponding
attribute of the object being replaced. Methods and functions being
mocked will have their arguments checked and will raise a `TypeError` if