Skip to content

Commit e5f2d99

Browse files
authored
NO-SNOW: fix daily test error matching (#3938)
1 parent 9d6bb37 commit e5f2d99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integ/test_packaging.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,9 @@ def check_if_package_works() -> str:
691691
def test_add_packages_with_native_dependency_without_force_push(session):
692692
session.custom_package_usage_config = {"enabled": True}
693693
with patch.object(session, "_is_anaconda_terms_acknowledged", lambda: True):
694-
with pytest.raises(
695-
RuntimeError, match="Your code depends on packages that contain native code"
694+
with pytest.raises( # macos python 3.13 fails with "Pip failed with return code 1"
695+
RuntimeError,
696+
match="Your code depends on packages that contain native code|Pip failed with return code 1",
696697
):
697698
session.add_packages(["pymupdf==1.24.10"])
698699

0 commit comments

Comments
 (0)