File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212expected = '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'
1313
1414test = urllib .quote (chars )
15- verify (test == expected , "urllib.quote problem" )
15+ verify (test == expected , "urllib.quote problem 1 " )
1616test2 = urllib .unquote (expected )
1717verify (test2 == chars )
1818
1919in1 = "abc/def"
2020out1_1 = "abc/def"
2121out1_2 = "abc%2fdef"
2222
23- verify (urllib .quote (in1 ) == out1_1 , "urllib.quote problem" )
24- verify (urllib .quote (in1 , '' ) == out1_2 , "urllib.quote problem" )
23+ verify (urllib .quote (in1 ) == out1_1 , "urllib.quote problem 2 " )
24+ verify (urllib .quote (in1 , '' ) == out1_2 , "urllib.quote problem 3 " )
2525
2626in2 = "abc?def"
2727out2_1 = "abc%3fdef"
2828out2_2 = "abc?def"
2929
30- verify (urllib .quote (in2 ) == out2_1 , "urllib.quote problem" )
31- verify (urllib .quote (in2 , '?' ) == out2_2 , "urllib.quote problem" )
30+ verify (urllib .quote (in2 ) == out2_1 , "urllib.quote problem 4 " )
31+ verify (urllib .quote (in2 , '?' ) == out2_2 , "urllib.quote problem 5 " )
You can’t perform that action at this time.
0 commit comments