mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:24:56 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -49,7 +49,7 @@ class FakeClock:
|
|||
return defer.succeed(None)
|
||||
|
||||
|
||||
class FakeEvent(object):
|
||||
class FakeEvent:
|
||||
"""A fake event we use as a convenience.
|
||||
|
||||
NOTE: Again as a convenience we use "node_ids" rather than event_ids to
|
||||
|
@ -595,7 +595,7 @@ def pairwise(iterable):
|
|||
|
||||
|
||||
@attr.s
|
||||
class TestStateResolutionStore(object):
|
||||
class TestStateResolutionStore:
|
||||
event_map = attr.ib()
|
||||
|
||||
def get_events(self, event_ids, allow_rejected=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue