summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-02-09 11:06:30 +0000
committerDavid Robertson <davidr@element.io>2023-02-09 11:06:30 +0000
commitf3f195217472284246f9150bd7686a821ba68b69 (patch)
tree0eb8daefde385b90dc8db77d94833c3eecc313eb
parentLint (diff)
downloadsynapse-dmr/typing/tests.util.caches.tar.xz
-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():