diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-13 14:20:31 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-13 14:20:31 (GMT) |
commit | 610bc6a211be33b390a9910943f1f9fb7656f634 (patch) | |
tree | 9498dd48c73ea91305805a6e1967f32becd39d70 /Doc/library/unittest.mock.rst | |
parent | 458fc6f98ca9a838af5dcdff64fd48ae3eb64fa9 (diff) | |
parent | 82f34ada45f96c13eb68927d6beccdcbab2c77b3 (diff) | |
download | cpython-610bc6a211be33b390a9910943f1f9fb7656f634.zip cpython-610bc6a211be33b390a9910943f1f9fb7656f634.tar.gz cpython-610bc6a211be33b390a9910943f1f9fb7656f634.tar.bz2 |
merge 3.4 (#23221)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 3043a6f..c19adf8 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -1541,7 +1541,7 @@ where we have imported it. The patching should look like:: However, consider the alternative scenario where instead of ``from a import SomeClass`` module b does ``import a`` and ``some_function`` uses ``a.SomeClass``. Both of these import forms are common. In this case the class we want to patch is -being looked up on the a module and so we have to patch ``a.SomeClass`` instead:: +being looked up in the module and so we have to patch ``a.SomeClass`` instead:: @patch('a.SomeClass') |