summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-06-30 09:05:06 -0400
committerGitHub <noreply@github.com>2022-06-30 13:05:06 +0000
commit6ad012ef89c966cbb3616c1be63d964db48d49ca (patch)
tree2f1cac7b53b6362e73037c8ca2ad6e6bfc09cb10 /tests
parentImprove startup times in Complement test runs against workers, particularly i... (diff)
downloadsynapse-6ad012ef89c966cbb3616c1be63d964db48d49ca.tar.xz
More type hints for `synapse.logging` (#13103)
Completes type hints for synapse.logging.scopecontextmanager and (partially)
for synapse.logging.opentracing.
Diffstat (limited to 'tests')
-rw-r--r--tests/logging/test_opentracing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging/test_opentracing.py b/tests/logging/test_opentracing.py
index e430941d27..40148d503c 100644
--- a/tests/logging/test_opentracing.py
+++ b/tests/logging/test_opentracing.py
@@ -50,7 +50,7 @@ class LogContextScopeManagerTestCase(TestCase):
         # global variables that power opentracing. We create our own tracer instance
         # and test with it.
 
-        scope_manager = LogContextScopeManager({})
+        scope_manager = LogContextScopeManager()
         config = jaeger_client.config.Config(
             config={}, service_name="test", scope_manager=scope_manager
         )