summary refs log tree commit diff
path: root/tests/util
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-10-19 19:38:24 +0000
committerGitHub <noreply@github.com>2022-10-19 19:38:24 +0000
commit0b7830e457359ce651b293c8748bf636973404a9 (patch)
treed8a0099884513c09518168df7e7ad56f5942f5a1 /tests/util
parentDocument encryption_enabled_by_default_for_room_type under the right name (#1... (diff)
downloadsynapse-0b7830e457359ce651b293c8748bf636973404a9.tar.xz
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Johnston <erik@matrix.org>
Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to 'tests/util')
-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 90861fe522..78fd7b6961 100644
--- a/tests/util/caches/test_descriptors.py
+++ b/tests/util/caches/test_descriptors.py
@@ -1037,5 +1037,5 @@ class CachedListDescriptorTestCase(unittest.TestCase):
         obj = Cls()
 
         # Make sure this raises an error about the arg mismatch
-        with self.assertRaises(Exception):
+        with self.assertRaises(TypeError):
             obj.list_fn([("foo", "bar")])