]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix intermittent `test_ci_fuzz_stdlib` failures (GH-145641)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Mon, 9 Mar 2026 09:23:34 +0000 (10:23 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2026 09:23:34 +0000 (10:23 +0100)
Lib/test/test_tools/test_compute_changes.py
Tools/build/compute-changes.py

index c4e3ffdb4de6cf6f1893d985c216103a79f97729..351fb06a885006d9b28193604240593372fc1d59 100644 (file)
@@ -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))
index 981e00e28b42a7f0ed654ac6f3b0947148ede5ca..4d92b083026b27154f6aa05c74428cccc2d52727 100644 (file)
@@ -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"),