diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-07-13 12:52:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 11:52:58 +0100 |
commit | 93729719b8451493e1df9930feb9f02f14ea5cef (patch) | |
tree | 90f9608894f30f35c824427aa8b3657a41246bdd /tests/util/caches | |
parent | [pyupgrade] `tests/` (#10347) (diff) | |
download | synapse-93729719b8451493e1df9930feb9f02f14ea5cef.tar.xz |
Use inline type hints in `tests/` (#10350)
This PR is tantamount to running: python3.8 -m com2ann -v 6 tests/ (com2ann requires python 3.8 to run)
Diffstat (limited to 'tests/util/caches')
-rw-r--r-- | tests/util/caches/test_descriptors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/caches/test_descriptors.py b/tests/util/caches/test_descriptors.py index 0277998cbe..39947a166b 100644 --- a/tests/util/caches/test_descriptors.py +++ b/tests/util/caches/test_descriptors.py @@ -174,7 +174,7 @@ class DescriptorTestCase(unittest.TestCase): return self.result obj = Cls() - callbacks = set() # type: Set[str] + callbacks: Set[str] = set() # set off an asynchronous request obj.result = origin_d = defer.Deferred() |