Skip to content

Commit

Permalink
Doctesting ignore warnings: mention that they come from Xcode 15's "ld".
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Sep 28, 2023
1 parent 7a92f0e commit 2c9a092
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sage/doctest/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,9 @@ def do_fixup(self, want, got):
did_fixup = True

if "duplicate" in got:
# New warnings as of Sept '23, OS X 13.6, new command-line tools.
# New warnings as of Sept '23, OS X 13.6, new command-line
# tools. In particular, these seem to come from ld in
# Xcode 15.
dup_rpath_regex = re.compile("ld: warning: duplicate -rpath .* ignored")
dup_lib_regex = re.compile("ld: warning: ignoring duplicate libraries: .*")
got = dup_rpath_regex.sub('', got)
Expand Down

0 comments on commit 2c9a092

Please sign in to comment.