|
|
@@ -8,11 +8,6 @@ def test(input, output): |
|
|
|
p = subprocess.Popen(['./.make-and-exec-binaries/urldecode'], text = False, stdin = subprocess.PIPE, stdout = subprocess.PIPE) |
|
|
|
stdout, stderr = p.communicate(input) |
|
|
|
assert not stderr |
|
|
|
if stdout != output: |
|
|
|
for i in range(0, len(stdout), 3): |
|
|
|
print(repr(stdout[i : i+3])) |
|
|
|
for i in range(0, len(output), 3): |
|
|
|
print(repr(output[i : i+3])) |
|
|
|
assert stdout == output |
|
|
|
|
|
|
|
|
|
|
|