summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/util/caches/test_descriptors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/caches/test_descriptors.py b/tests/util/caches/test_descriptors.py
index b40afaf2c4..8bbd6d8411 100644
--- a/tests/util/caches/test_descriptors.py
+++ b/tests/util/caches/test_descriptors.py
@@ -282,7 +282,7 @@ class DescriptorTestCase(unittest.TestCase):
 
         class Cls:
             @descriptors.cached()
-            def fn(self, arg1: int) -> Deferred[int]:
+            def fn(self, arg1: int) -> "Deferred[int]":
                 @defer.inlineCallbacks
                 def inner_fn() -> Generator["Deferred[Any]", Any, int]:
                     with PreserveLoggingContext():