mirror of https://github.com/google/brotli
Remove streaming test.
This commit is contained in:
parent
30612e3a64
commit
cbb0d4cd73
|
@ -33,12 +33,3 @@ for filename in INPUTS.splitlines():
|
||||||
uncompressed, "--custom-dictionary", filename], env=TEST_ENV)
|
uncompressed, "--custom-dictionary", filename], env=TEST_ENV)
|
||||||
if diff_q(filename, uncompressed) != 0:
|
if diff_q(filename, uncompressed) != 0:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
# Test the streaming version
|
|
||||||
with open(filename, "rb") as infile, \
|
|
||||||
open(uncompressed, "wb") as outfile:
|
|
||||||
p = Popen([PYTHON, BRO, "-q", str(quality)], stdin=infile,
|
|
||||||
stdout=PIPE, env=TEST_ENV)
|
|
||||||
check_call([PYTHON, BRO, "-d"], stdin=p.stdout, stdout=outfile,
|
|
||||||
env=TEST_ENV)
|
|
||||||
if diff_q(filename, uncompressed) != 0:
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
Loading…
Reference in New Issue