Don't capture the output of the first test
This commit is contained in:
@@ -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'
|
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
|
||||||
actual_wheels = utils.cibuildwheel_run(project_dir)
|
# we can see how it looks
|
||||||
|
with capfd.disabled():
|
||||||
|
actual_wheels = utils.cibuildwheel_run(project_dir)
|
||||||
|
|
||||||
# check that the expected wheels are produced
|
# check that the expected wheels are produced
|
||||||
expected_wheels = utils.expected_wheels('spam', '0.1.0')
|
expected_wheels = utils.expected_wheels('spam', '0.1.0')
|
||||||
|
|||||||
Reference in New Issue
Block a user