]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-133551: Skip annotationlib for now in ast roundtrip tests (GH-133634) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 May 2025 03:01:33 +0000 (05:01 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 03:01:33 +0000 (03:01 +0000)
gh-133551: Skip annotationlib for now in ast roundtrip tests (GH-133634)
(cherry picked from commit 0a3ccb8dff2bd140f800d9e0b00549d8f1ead929)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_unparse.py

index d3af7a8489e650e12d1875dd1371b3ae659ce5da..5616129eb63c2febf4e548efc532600a7272deb1 100644 (file)
@@ -942,6 +942,7 @@ class DirectoryTestCase(ASTTestCase):
             for directory in cls.test_directories
             for item in directory.glob("*.py")
             if not item.name.startswith("bad")
+            and item.name != "annotationlib.py"  # gh-133581: t"" does not roundtrip
         ]
 
         # Test limited subset of files unless the 'cpu' resource is specified.