diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-19 06:06:37 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-19 06:06:37 (GMT) |
commit | 1a8a53d16f3e753403cc97b33f7a9943b7078a23 (patch) | |
tree | b63dd81580e12d863673c4bb5aa0e88c7b0eb4e7 /Lib | |
parent | 983874dd32432c1e3237ad5f7bcfc3ab83c10f2c (diff) | |
download | cpython-1a8a53d16f3e753403cc97b33f7a9943b7078a23.zip cpython-1a8a53d16f3e753403cc97b33f7a9943b7078a23.tar.gz cpython-1a8a53d16f3e753403cc97b33f7a9943b7078a23.tar.bz2 |
test_urllib is failing on Windows. I don't know why, but I can at least
change the test to give a clue about *where* it's failing.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_urllib.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index d2d5d63..6e44e86 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -12,7 +12,7 @@ chars = 'abcdefghijklmnopqrstuvwxyz'\ expected = 'abcdefghijklmnopqrstuvwxyz%df%e0%e1%e2%e3%e4%e5%e6%e7%e8%e9%ea%eb%ec%ed%ee%ef%f0%f1%f2%f3%f4%f5%f6%f8%f9%fa%fb%fc%fd%fe%ffABCDEFGHIJKLMNOPQRSTUVWXYZ%c0%c1%c2%c3%c4%c5%c6%c7%c8%c9%ca%cb%cc%cd%ce%cf%d0%d1%d2%d3%d4%d5%d6%d8%d9%da%db%dc%dd%de' test = urllib.quote(chars) -verify(test == expected, "urllib.quote problem") +verify(test == expected, "urllib.quote problem 1") test2 = urllib.unquote(expected) verify(test2 == chars) @@ -20,12 +20,12 @@ in1 = "abc/def" out1_1 = "abc/def" out1_2 = "abc%2fdef" -verify(urllib.quote(in1) == out1_1, "urllib.quote problem") -verify(urllib.quote(in1, '') == out1_2, "urllib.quote problem") +verify(urllib.quote(in1) == out1_1, "urllib.quote problem 2") +verify(urllib.quote(in1, '') == out1_2, "urllib.quote problem 3") in2 = "abc?def" out2_1 = "abc%3fdef" out2_2 = "abc?def" -verify(urllib.quote(in2) == out2_1, "urllib.quote problem") -verify(urllib.quote(in2, '?') == out2_2, "urllib.quote problem") +verify(urllib.quote(in2) == out2_1, "urllib.quote problem 4") +verify(urllib.quote(in2, '?') == out2_2, "urllib.quote problem 5") |