From 24ea7860842f0d5ac366732f5921dde1e285cdf7 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Wed, 17 Feb 2021 15:41:08 -0800 Subject: Remove inspect.unwrap, not in Python 2.7 and it's a no-op. --- tests/test_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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: -- cgit v1.2.3