From 325319dc3b27febe63b6e2ea59bf6e4923207529 Mon Sep 17 00:00:00 2001 From: Jeffrey Rackauckas Date: Sat, 25 Aug 2018 22:18:29 -0700 Subject: [PATCH] Fixing xdist test to properly configure an ini file. --- testing/test_terminal.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 64d909772..c0240c58f 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -1188,10 +1188,17 @@ class TestProgress(object): def test_xdist_normal(self, many_tests_files, testdir): pytest.importorskip("xdist") output = testdir.runpytest("-n2") + sys.stderr.write(output.stdout) output.stdout.re_match_lines([r"\.{20} \s+ \[100%\]"]) def test_xdist_normal_count(self, many_tests_files, testdir): pytest.importorskip("xdist") + testdir.makeini( + """ + [pytest] + progress_display_mode = count + """ + ) output = testdir.runpytest("-n2") output.stdout.re_match_lines([r"\.{20} \s+ \[ 20 / 20 \]"])