From cbb0d4cd73b8af2509b5f6fe77c84af8d4d34af3 Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Tue, 23 Feb 2016 17:45:42 +0100 Subject: [PATCH] Remove streaming test. --- python/tests/custom_dictionary_test.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/python/tests/custom_dictionary_test.py b/python/tests/custom_dictionary_test.py index b5a65d4..8fdebb7 100644 --- a/python/tests/custom_dictionary_test.py +++ b/python/tests/custom_dictionary_test.py @@ -33,12 +33,3 @@ for filename in INPUTS.splitlines(): uncompressed, "--custom-dictionary", filename], env=TEST_ENV) if diff_q(filename, uncompressed) != 0: 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)