diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-09 07:41:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 07:41:32 -0500 |
commit | 7fdc6cefb3017f3c4bbe1d824e1de249ac29d219 (patch) | |
tree | eb7529b1b438b4cbff3c5ca6d30391f1bfd10a49 /tests/test_utils | |
parent | Handle image transparency better when thumbnailing. (#9473) (diff) | |
download | synapse-7fdc6cefb3017f3c4bbe1d824e1de249ac29d219.tar.xz |
Fix additional type hints. (#9543)
Type hint fixes due to Twisted 21.2.0 adding type hints.
Diffstat (limited to 'tests/test_utils')
-rw-r--r-- | tests/test_utils/logging_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils/logging_setup.py b/tests/test_utils/logging_setup.py index 52ae5c5713..74568b34f8 100644 --- a/tests/test_utils/logging_setup.py +++ b/tests/test_utils/logging_setup.py @@ -28,7 +28,7 @@ class ToTwistedHandler(logging.Handler): def emit(self, record): log_entry = self.format(record) log_level = record.levelname.lower().replace("warning", "warn") - self.tx_log.emit( + self.tx_log.emit( # type: ignore twisted.logger.LogLevel.levelWithName(log_level), "{entry}", entry=log_entry ) |