From fb6fd6c5ca232837d647852463bedcbc79cdad4e Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 9 Feb 2023 10:48:33 +0000 Subject: [PATCH] Lint --- tests/util/caches/test_descriptors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/util/caches/test_descriptors.py b/tests/util/caches/test_descriptors.py index a2275d165a..b40afaf2c4 100644 --- a/tests/util/caches/test_descriptors.py +++ b/tests/util/caches/test_descriptors.py @@ -557,6 +557,7 @@ class CacheDecoratorTestCase(unittest.HomeserverTestCase): There are probably duplicates of the tests in DescriptorTestCase. Ideally the duplicates would be removed and the two sets of classes combined. """ + # Through this class, mypy complains that the `xyz` expression in `(yield xyz)` has # a concrete type when it should have type `Deferred[Any]`. I think this would be # fixed by a better annotation for @cached.