This commit is contained in:
David Robertson 2023-02-09 10:48:33 +00:00
parent 4cb9ca8f95
commit fb6fd6c5ca
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD

View file

@ -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.