diff options
Diffstat (limited to 'python/mock/slack-desc')
-rw-r--r-- | python/mock/slack-desc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python/mock/slack-desc b/python/mock/slack-desc index 9d0fba093404f..c417d2346b3f6 100644 --- a/python/mock/slack-desc +++ b/python/mock/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -mock: mock (implements a Mocking and Testing Library in Python) +mock: mock (unit test library for Python 2) mock: -mock: mock is a Python module that provides a core Mock class. It removes -mock: the need to create a host of stubs throughout your test suite. -mock: The mock module also provides a patch() decorator that handles -mock: patching module and class level attributes within the scope of a -mock: test, along with sentinel for creating unique objects. -mock: mock is tested on Python versions 2.4-2.7 and Python 3. +mock: mock is a library for testing in Python 2. It allows you to replace +mock: parts of your system under test with mock objects and make assertions +mock: about how they have been used. +mock: +mock: IMPORTANT: For Python3 you do not need this module. Please use the +mock: standard library instead (unittest.mock). This package contains a +mock: rolling backport of the standard library compatible with Python 2.7. mock: -mock: Homepage: http://www.voidspace.org.uk/python/mock/ mock: |