mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 03:06:41 +00:00
Python 3 syntax compatibility
This commit is contained in:
parent
58db131787
commit
8516459fa3
@ -1,6 +1,8 @@
|
||||
import os, sys
|
||||
import mock
|
||||
|
||||
from functools import (
|
||||
partial,
|
||||
)
|
||||
import attr
|
||||
|
||||
import twisted
|
||||
@ -1284,10 +1286,7 @@ introducer.furl = pb://abcde@nowhere/fake
|
||||
self.assertThat(
|
||||
defer.gatherResults([node_a, node_b]),
|
||||
succeeded(AfterPreprocessing(
|
||||
lambda (a, b): (
|
||||
get_published_announcements(a),
|
||||
get_published_announcements(b),
|
||||
),
|
||||
partial(map, get_published_announcements),
|
||||
MatchesSameElements(),
|
||||
)),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user