Python 3 syntax compatibility

This commit is contained in:
Jean-Paul Calderone 2019-06-26 15:48:54 -04:00
parent 58db131787
commit 8516459fa3

View File

@ -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(),
)),
)