diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:36:38 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:36:38 (GMT) |
commit | 8b53559a899e269aed6014eaaad545567c06b77e (patch) | |
tree | f85f02115f84d0cb1af9877cd90a45f1e1d1b010 /Lib/unittest | |
parent | 16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba (diff) | |
parent | 0f84764a09401bb93f544141a433db5acd751dd2 (diff) | |
download | cpython-8b53559a899e269aed6014eaaad545567c06b77e.zip cpython-8b53559a899e269aed6014eaaad545567c06b77e.tar.gz cpython-8b53559a899e269aed6014eaaad545567c06b77e.tar.bz2 |
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 0f0e9ed..ea79ae3 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1444,7 +1444,7 @@ def patch( you pass in `create=True`, and the attribute doesn't exist, patch will create the attribute for you when the patched function is called, and delete it again afterwards. This is useful for writing tests against - attributes that your production code creates at runtime. It is off by by + attributes that your production code creates at runtime. It is off by default because it can be dangerous. With it switched on you can write passing tests against APIs that don't actually exist! |