launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #26399
[Merge] ~cjwatson/launchpad:py3-doctest-set-repr-2 into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:py3-doctest-set-repr-2 into launchpad:master.
Commit message:
Adjust doctests for repr of sets in Python 3 (take 2)
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/398535
Similar to https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/396934, but I missed a spot.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py3-doctest-set-repr-2 into launchpad:master.
diff --git a/lib/lp/bugs/tests/structural-subscription-target.txt b/lib/lp/bugs/tests/structural-subscription-target.txt
index 0602c9f..904f0ca 100644
--- a/lib/lp/bugs/tests/structural-subscription-target.txt
+++ b/lib/lp/bugs/tests/structural-subscription-target.txt
@@ -53,5 +53,5 @@ Structural subscriptions and indirect bug subscriptions
... subscriber.name for subscriber in bug.getIndirectSubscribers())
>>> structural_subscribers = set(
... sub.subscriber.name for sub in target.bug_subscriptions)
- >>> structural_subscribers.difference(indirect_subscribers)
- set([])
+ >>> for name in structural_subscribers.difference(indirect_subscribers):
+ ... print(name)