summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2021-02-17 15:41:08 -0800
committerTheron Luhn <theron@luhn.com>2021-02-17 15:42:13 -0800
commit24ea7860842f0d5ac366732f5921dde1e285cdf7 (patch)
treeb9762f86f9f5132bb485c67084b30da44aeb5131 /tests
parentf510281a09ce500dcb51bf5fd3cbca4d97a56cb2 (diff)
downloadpyramid-24ea7860842f0d5ac366732f5921dde1e285cdf7.tar.gz
pyramid-24ea7860842f0d5ac366732f5921dde1e285cdf7.tar.bz2
pyramid-24ea7860842f0d5ac366732f5921dde1e285cdf7.zip
Remove inspect.unwrap, not in Python 2.7 and it's a no-op.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_decorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_decorator.py b/tests/test_decorator.py
index a9a16ba93..0da8380f8 100644
--- a/tests/test_decorator.py
+++ b/tests/test_decorator.py
@@ -46,7 +46,7 @@ class TestReify(unittest.TestCase):
return 'a' # pragma: no cover
decorator = self._makeOne(wrapped)
- assert not inspect.isfunction(inspect.unwrap(decorator))
+ assert not inspect.isfunction(decorator)
class Dummy: