mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:04:59 -04:00
Fix typechecks against twisted trunk (#13061)
This commit is contained in:
parent
bd03332a1d
commit
a4ae1406d1
3 changed files with 6 additions and 4 deletions
|
@ -495,6 +495,7 @@ class StateTestCase(unittest.TestCase):
|
|||
|
||||
prev_events = list(graph[node_id])
|
||||
|
||||
state_before: StateMap[str]
|
||||
if len(prev_events) == 0:
|
||||
state_before = {}
|
||||
elif len(prev_events) == 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue