summary refs log tree commit diff
path: root/tests/media/test_url_previewer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/media/test_url_previewer.py')
-rw-r--r--tests/media/test_url_previewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/media/test_url_previewer.py b/tests/media/test_url_previewer.py
index 3c4c7d6765..46ecde5344 100644
--- a/tests/media/test_url_previewer.py
+++ b/tests/media/test_url_previewer.py
@@ -24,7 +24,7 @@ from tests.unittest import override_config
 try:
     import lxml
 except ImportError:
-    lxml = None
+    lxml = None  # type: ignore[assignment]
 
 
 class URLPreviewTests(unittest.HomeserverTestCase):