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 | b1079537fdbec16c9e76932437fd2b3f7a8c2f0d (patch) | |
tree | 61897a582febc1ddc72591b48b0fa498f5c77e22 /docs | |
parent | 157256764d7e2c85d14cc9ee6c5d648e787b7ccd (diff) | |
download | mock-b1079537fdbec16c9e76932437fd2b3f7a8c2f0d.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 ------------------------ |