diff options
-rw-r--r-- | docs/changelog.txt | 4 | ||||
-rw-r--r-- | docs/magicmock.txt | 4 |
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 |