diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:34:00 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 22:34:00 (GMT) |
commit | 0f84764a09401bb93f544141a433db5acd751dd2 (patch) | |
tree | 738adf0e585f39a92f5f3b414fc3feeab636e196 /Lib/unittest/mock.py | |
parent | 98472b839674a78b0cbb09f50a61f70019591a4a (diff) | |
download | cpython-0f84764a09401bb93f544141a433db5acd751dd2.zip cpython-0f84764a09401bb93f544141a433db5acd751dd2.tar.gz cpython-0f84764a09401bb93f544141a433db5acd751dd2.tar.bz2 |
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/unittest/mock.py')
-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 324cf39..8361fde 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1417,7 +1417,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! |