summary refs log tree commit diff
path: root/tests/replication
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-03-29 14:42:38 +0100
committerGitHub <noreply@github.com>2021-03-29 14:42:38 +0100
commit5fdff977195dd8a9821f75c451a2a765a9f198f7 (patch)
tree8201402a46ef3cce27127f56beac8f5bde8d01d5 /tests/replication
parentFix `re.Pattern` mypy error on 3.6 (#9703) (diff)
downloadsynapse-5fdff977195dd8a9821f75c451a2a765a9f198f7.tar.xz
Fix CI by ignore type for None module import (#9709)
Diffstat (limited to 'tests/replication')
-rw-r--r--tests/replication/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py
index 67b7913666..1d4a592862 100644
--- a/tests/replication/_base.py
+++ b/tests/replication/_base.py
@@ -44,7 +44,7 @@ from tests.server import FakeTransport
 try:
     import hiredis
 except ImportError:
-    hiredis = None
+    hiredis = None  # type: ignore
 
 logger = logging.getLogger(__name__)