Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/integ/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,9 @@ def check_if_package_works() -> str:
def test_add_packages_with_native_dependency_without_force_push(session):
session.custom_package_usage_config = {"enabled": True}
with patch.object(session, "_is_anaconda_terms_acknowledged", lambda: True):
with pytest.raises(
RuntimeError, match="Your code depends on packages that contain native code"
with pytest.raises( # macos python 3.13 fails with "Pip failed with return code 1"
RuntimeError,
match="Your code depends on packages that contain native code|Pip failed with return code 1",
):
session.add_packages(["pymupdf==1.24.10"])

Expand Down
Loading