]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add __wrapped__ attribute to _TestMethodWrapper 3060/head
authorJonas Ehrlich <jonas.ehrlich@gmail.com>
Sun, 5 Sep 2021 19:31:15 +0000 (21:31 +0200)
committerJonas Ehrlich <jonas.ehrlich@gmail.com>
Sun, 5 Sep 2021 19:31:15 +0000 (21:31 +0200)
commit4427df1c81d715cbd6956b56aff3920f8655c73a
tree5d0c4b9ebbb1b72ad1c2990bdfc55910773f46ac
parent790715ae0f0a30b9ee830bfee75bb7fa4c4ec2f6
Add __wrapped__ attribute to _TestMethodWrapper

Since Python 3.2 the functools.wraps decorator adds a __wrapped__ attribute
pointing to the original callable, this allows wrapped functions to be introspected.
tornado/test/testing_test.py
tornado/testing.py