summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2012-03-17 18:05:04 -0700
committerMichael Foord <michael@voidspace.org.uk>2012-03-17 18:05:04 -0700
commit96634cc567d5caf9169dba623ba82b42e862d6a6 (patch)
tree7128b3daf22350712c61486546074b1a2d85bfeb
parent49025be74f48b374d0a872a2ca84bf4d00c390db (diff)
downloadmock-96634cc567d5caf9169dba623ba82b42e862d6a6.tar.gz
More documentation updates
-rw-r--r--docs/changelog.txt4
-rw-r--r--docs/magicmock.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/changelog.txt b/docs/changelog.txt
index 987f736..e4e7be6 100644
--- a/docs/changelog.txt
+++ b/docs/changelog.txt
@@ -12,10 +12,10 @@ The standard library version!
* `mocksignature`, along with the `mocksignature` argument to `patch`, removed
* Support for deleting attributes (accessing deleted attributes will raise an
`AttributeError`)
-* Added the `mock_open` helper function for mocking open as a context manager
+* Added the `mock_open` helper function for mocking the builtin `open`
* `__class__` is assignable, so a mock can pass an `isinstance` check without
requiring a spec
-* Addition of `PropertyMock`
+* Addition of `PropertyMock`, for mocking properties
* `MagicMocks` are unorderable by default (in Python 3). The comparison methods
(other than equality and inequality) return `NotImplemented`
diff --git a/docs/magicmock.txt b/docs/magicmock.txt
index 4b1209d..42b2ed9 100644
--- a/docs/magicmock.txt
+++ b/docs/magicmock.txt
@@ -152,6 +152,10 @@ to change the default.
Methods and their defaults:
+* ``__lt__``: NotImplemented
+* ``__gt__``: NotImplemented
+* ``__le__``: NotImplemented
+* ``__ge__``: NotImplemented
* ``__int__`` : 1
* ``__contains__`` : False
* ``__len__`` : 1