diff options
author | David Robertson <davidr@element.io> | 2023-02-09 10:48:33 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2023-02-09 10:48:33 +0000 |
commit | fb6fd6c5ca232837d647852463bedcbc79cdad4e (patch) | |
tree | 13c059567f8909dc997a367e602d339285dbf566 | |
parent | Changelog (diff) | |
download | synapse-fb6fd6c5ca232837d647852463bedcbc79cdad4e.tar.xz |
Lint
-rw-r--r-- | tests/util/caches/test_descriptors.py | 1 |
1 files changed, 1 insertions, 0 deletions
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. |