← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:py3-stray-close-parens into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:py3-stray-close-parens into launchpad:master.

Commit message:
Remove stray close parentheses from xx-notifications.txt

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/396110

Python 2 seems to ignore this, but Python 3 raises SyntaxError.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py3-stray-close-parens into launchpad:master.
diff --git a/lib/lp/app/stories/basics/xx-notifications.txt b/lib/lp/app/stories/basics/xx-notifications.txt
index 82da694..aca02dd 100644
--- a/lib/lp/app/stories/basics/xx-notifications.txt
+++ b/lib/lp/app/stories/basics/xx-notifications.txt
@@ -37,7 +37,6 @@ Location: /
 >>> destination_url = re.search('(?m)^Location:\s(.*)$', str(result)).group(1)
 >>> launchpad_session_cookie = re.search(
 ...     '(?m)^Set-Cookie:\slaunchpad_tests=(.*?);', str(result)).group(1)
-...     )
 >>> print(http(r"""
 ... GET %(destination_url)s HTTP/1.1
 ... Authorization: Basic Y2FybG9zQGNhbm9uaWNhbC5jb206dGVzdA==
@@ -75,7 +74,6 @@ Location: /+notificationtest1
 >>> destination_url = re.search('(?m)^Location:\s(.*)$', str(result)).group(1)
 >>> launchpad_session_cookie = re.search(
 ...     '(?m)^Set-Cookie:\slaunchpad_tests=(.*?);', str(result)).group(1)
-...     )
 >>> print(http(r"""
 ... GET %(destination_url)s HTTP/1.1
 ... Authorization: Basic Y2FybG9zQGNhbm9uaWNhbC5jb206dGVzdA==
@@ -116,7 +114,6 @@ Location: /+notificationtest3
 >>> destination_url = re.search('(?m)^Location:\s(.*)$', str(result)).group(1)
 >>> launchpad_session_cookie = re.search(
 ...     '(?m)^Set-Cookie:\slaunchpad_tests=(.*?);', str(result)).group(1)
-...     )
 >>> result = http(r"""
 ... GET %(destination_url)s HTTP/1.1
 ... Authorization: Basic Y2FybG9zQGNhbm9uaWNhbC5jb206dGVzdA==
@@ -133,7 +130,6 @@ Location: /+notificationtest1
 >>> destination_url = re.search('(?m)^Location:\s(.*)$', str(result)).group(1)
 >>> launchpad_session_cookie = re.search(
 ...     '(?m)^Set-Cookie:\slaunchpad_tests=(.*?);', str(result)).group(1)
-...     )
 >>> print(http(r"""
 ... GET %(destination_url)s HTTP/1.1
 ... Authorization: Basic Y2FybG9zQGNhbm9uaWNhbC5jb206dGVzdA==