diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-11-07 17:08:38 +0000 |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-11-07 17:08:38 +0000 |
commit | 0818cd0411508ccf926f92f9164bc744aa5be849 (patch) | |
tree | 61897a582febc1ddc72591b48b0fa498f5c77e22 /docs | |
parent | 37367061a7f93c59eac6e81b9ab6d2b30c8c03c5 (diff) | |
download | mock-0818cd0411508ccf926f92f9164bc744aa5be849.tar.gz |
Proper compatibility with functools.wraps
Diffstat (limited to 'docs')
-rw-r--r-- | docs/changelog.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/changelog.txt b/docs/changelog.txt index 91a050d..3ae45d0 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -5,16 +5,12 @@ CHANGELOG ========= 2012/11/05 Version 1.0.1 ------------------------ +------------------------ * Functions decorated with `patch` variants have a `__wrapped__` attribute pointing to the original function. This brings compatibility with the default behaviour in Python 3.3 (due to a new feature in `functools.wraps`). -Note that due to changes in `tox`, `mock` is no longer tested with Python 2.4. -The compatibility code has not been removed so it probably still works, but -tests are no longer run. - 2012/10/07 Version 1.0.0 ------------------------ |