From 8108deacfe0605c4c56da857305862754c5d4de1 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Thu, 5 Nov 2020 23:09:28 +0000 Subject: [PATCH] Don't capture the output of the first test --- test/test_0_basic.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/test_0_basic.py b/test/test_0_basic.py index 60b309ab..cd17cef8 100644 --- a/test/test_0_basic.py +++ b/test/test_0_basic.py @@ -13,12 +13,14 @@ basic_project = test_projects.new_c_project( ) -def test(tmp_path): +def test(tmp_path, capfd): project_dir = tmp_path / 'project' basic_project.generate(project_dir) - # build the wheels - actual_wheels = utils.cibuildwheel_run(project_dir) + # build the wheels, and let the output passthrough to the caller, so + # we can see how it looks + with capfd.disabled(): + actual_wheels = utils.cibuildwheel_run(project_dir) # check that the expected wheels are produced expected_wheels = utils.expected_wheels('spam', '0.1.0')