Don't capture the output of the first test

This commit is contained in:
Joe Rickerby
2020-11-05 23:10:25 +00:00
parent c9ea0251fe
commit 8108deacfe
+4 -2
View File
@@ -13,11 +13,13 @@ basic_project = test_projects.new_c_project(
) )
def test(tmp_path): def test(tmp_path, capfd):
project_dir = tmp_path / 'project' project_dir = tmp_path / 'project'
basic_project.generate(project_dir) basic_project.generate(project_dir)
# build the wheels # 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) actual_wheels = utils.cibuildwheel_run(project_dir)
# check that the expected wheels are produced # check that the expected wheels are produced