Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(73527)

Unified Diff: Lib/test/test_urllib.py

Issue 16285: Update urllib quoting to RFC 3986
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/urllib/parse.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_urllib.py Thu Apr 17 12:30:14 2014 +0200
+++ b/Lib/test/test_urllib.py Thu Apr 17 12:03:48 2014 -0400
@@ -629,7 +629,7 @@
do_not_quote = '' .join(["ABCDEFGHIJKLMNOPQRSTUVWXYZ",
"abcdefghijklmnopqrstuvwxyz",
"0123456789",
- "_.-"])
+ "_.-~"])
result = urllib.parse.quote(do_not_quote)
self.assertEqual(do_not_quote, result,
"using quote(): %r != %r" % (do_not_quote, result))
« no previous file with comments | « no previous file | Lib/urllib/parse.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+