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