diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-05-31 13:06:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 17:06:57 +0000 |
commit | 6f18812bb044a2959fdc9881c328578adb7b33f2 (patch) | |
tree | 4c0131fd4911400bcc9db7785388135bb0fa495b /tests/rest | |
parent | Docker fully qualified image names (#15689) (diff) | |
download | synapse-6f18812bb044a2959fdc9881c328578adb7b33f2.tar.xz |
Add stubs package for lxml. (#15697)
The stubs have some issues so this has some generous cast and ignores in it, but it is better than not having stubs. Note that confusing that Element is a function which creates _Element instances (and similarly for Comment).
Diffstat (limited to 'tests/rest')
-rw-r--r-- | tests/rest/media/test_url_preview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/media/test_url_preview.py b/tests/rest/media/test_url_preview.py index 170fb0534a..05d5e39cab 100644 --- a/tests/rest/media/test_url_preview.py +++ b/tests/rest/media/test_url_preview.py @@ -40,7 +40,7 @@ from tests.test_utils import SMALL_PNG try: import lxml except ImportError: - lxml = None + lxml = None # type: ignore[assignment] class URLPreviewTests(unittest.HomeserverTestCase): |