Skip to content

Commit a6e9ced

Browse files
committed
get rid of printing options
1 parent cc1f46e commit a6e9ced

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

runner/__init__.py

-7
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,7 @@ def run(indir: Directory, outdir: Directory, max_score: int, timeout_duration: i
217217
try:
218218
@timeout_decorator.timeout(timeout_duration)
219219
def run_tests():
220-
old_stdout = sys.stdout
221-
old_stderr = sys.stderr
222-
sys.stdout = sys.stderr = StringIO()
223220
pytest.main(_sanitize_args(args or []) + [str(tf) for tf in test_files], plugins=[reporter])
224-
output = sys.stdout.getvalue()
225-
sys.stdout = old_stdout
226-
sys.stderr = old_stderr
227-
print(output)
228221
run_tests()
229222
except TimeoutError:
230223
reporter.results.error("Tests timed out after {} seconds".format(timeout_duration))

0 commit comments

Comments
 (0)