diff --git a/src/sage/doctest/parsing.py b/src/sage/doctest/parsing.py index c9c28359ad0..f4412c26907 100644 --- a/src/sage/doctest/parsing.py +++ b/src/sage/doctest/parsing.py @@ -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)