summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-20 18:09:59 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-20 18:09:59 +0100
commit47d53b32e39d00b2e1e5db8928fa6a761f80e604 (patch)
tree41aeaaa2db2fb8031943c8f178e3b933d9686047 /tests/test_state.py
parentMerge commit '9f8abdcc3' into anoa/dinsic_release_1_21_x (diff)
parentCatch up after Federation Outage (split, 2): Track last successful stream ord... (diff)
downloadsynapse-47d53b32e39d00b2e1e5db8928fa6a761f80e604.tar.xz
Merge commit '17fa4c7ca' into anoa/dinsic_release_1_21_x
* commit '17fa4c7ca':
  Catch up after Federation Outage (split, 2): Track last successful stream ordering after transmission (#8247)
  Catch-up after Federation Outage (split, 1) (#8230)
  Fix type signature in simple_select_one_onecol and friends (#8241)
  Stop sub-classing object (#8249)
Diffstat (limited to 'tests/test_state.py')
-rw-r--r--tests/test_state.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_state.py b/tests/test_state.py

index 56ba0fecf5..2d58467932 100644 --- a/tests/test_state.py +++ b/tests/test_state.py
@@ -71,7 +71,7 @@ def create_event( return event -class StateGroupStore(object): +class StateGroupStore: def __init__(self): self._event_to_state_group = {} self._group_to_state = {} @@ -129,7 +129,7 @@ class DictObj(dict): self.__dict__ = self -class Graph(object): +class Graph: def __init__(self, nodes, edges): events = {} clobbered = set(events.keys())