summaryrefslogtreecommitdiffstats
path: root/python/mock/slack-desc
diff options
context:
space:
mode:
author David Spencer2018-05-31 22:59:14 +0200
committer Willy Sudiarto Raharjo2018-06-02 02:32:35 +0200
commit1d01a46b1931606bb4ae783c202374e9a292b16c (patch)
treef7a436bb66f7b30c24c9ccf8ff63d4bdc9c83726 /python/mock/slack-desc
parentc085480417652a283ff498f10cb2f684edbfe7cb (diff)
downloadslackbuilds-1d01a46b1931606bb4ae783c202374e9a292b16c.tar.gz
python/mock: Updated for version 2.0.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/mock/slack-desc')
-rw-r--r--python/mock/slack-desc16
1 files changed, 8 insertions, 8 deletions
diff --git a/python/mock/slack-desc b/python/mock/slack-desc
index 9d0fba0934..c417d2346b 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: