Skip to content

Commit 8f5ee78

Browse files
jhpalmieriMatthias Köppe
authored andcommitted
Doctesting ignore warnings: mention that they come from Xcode 15's "ld".
1 parent 697fab7 commit 8f5ee78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/doctest/parsing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,9 @@ def do_fixup(self, want, got):
16531653
did_fixup = True
16541654

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

0 commit comments

Comments
 (0)