From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Mon, 9 Mar 2026 09:23:34 +0000 (+0100) Subject: Fix intermittent `test_ci_fuzz_stdlib` failures (GH-145641) X-Git-Tag: v3.15.0a7~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4460925a48f41497857fa2b20fbfb33836ceed8;p=thirdparty%2FPython%2Fcpython.git Fix intermittent `test_ci_fuzz_stdlib` failures (GH-145641) --- diff --git a/Lib/test/test_tools/test_compute_changes.py b/Lib/test/test_tools/test_compute_changes.py index c4e3ffdb4de6..351fb06a8850 100644 --- a/Lib/test/test_tools/test_compute_changes.py +++ b/Lib/test/test_tools/test_compute_changes.py @@ -54,6 +54,8 @@ class TestProcessChangedFiles(unittest.TestCase): f = p / "file" elif p.is_file(): f = p + else: + self.fail(f"LIBRARY_FUZZER_PATHS contains an invalid entry: {p!r}") result = process_changed_files({f}) self.assertTrue(result.run_ci_fuzz_stdlib) self.assertTrue(is_fuzzable_library_file(f)) diff --git a/Tools/build/compute-changes.py b/Tools/build/compute-changes.py index 981e00e28b42..4d92b083026b 100644 --- a/Tools/build/compute-changes.py +++ b/Tools/build/compute-changes.py @@ -90,7 +90,7 @@ LIBRARY_FUZZER_PATHS = frozenset({ # tarfile Path("Lib/tarfile.py"), # tomllib - Path("Modules/tomllib/"), + Path("Lib/tomllib/"), # xml Path("Lib/xml/"), Path("Lib/_markupbase.py"),