tests: another iOS flaky spot (#2539)
* tests: another iOS flaky spot Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * tests: missing interceptions Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -171,6 +171,7 @@ def test_ios_testing_with_placeholder(tmp_path, capfd):
|
||||
|
||||
|
||||
@pytest.mark.serial
|
||||
@pytest.mark.flaky(reruns=2)
|
||||
def test_ios_test_command_short_circuit(tmp_path, capfd):
|
||||
skip_if_ios_testing_not_supported()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import pytest
|
||||
|
||||
from cibuildwheel import architecture
|
||||
from cibuildwheel.logger import Logger
|
||||
from cibuildwheel.platforms import linux, macos, pyodide, windows
|
||||
from cibuildwheel.platforms import android, ios, linux, macos, pyodide, windows
|
||||
from cibuildwheel.util import file
|
||||
|
||||
|
||||
@@ -87,10 +87,12 @@ def platform(request, monkeypatch):
|
||||
def intercepted_build_args(monkeypatch):
|
||||
intercepted = ArgsInterceptor()
|
||||
|
||||
monkeypatch.setattr(android, "build", intercepted)
|
||||
monkeypatch.setattr(ios, "build", intercepted)
|
||||
monkeypatch.setattr(linux, "build", intercepted)
|
||||
monkeypatch.setattr(macos, "build", intercepted)
|
||||
monkeypatch.setattr(windows, "build", intercepted)
|
||||
monkeypatch.setattr(pyodide, "build", intercepted)
|
||||
monkeypatch.setattr(windows, "build", intercepted)
|
||||
|
||||
yield intercepted
|
||||
|
||||
|
||||
Reference in New Issue
Block a user