-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
3.13bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
./python.exe -m test test_compile
Using random seed: 123325304
0:00:00 load avg: 1.63 Run 1 test sequentially
0:00:00 load avg: 1.63 [1/1] test_compile
/Users/admin/Projects/cpython/Lib/test/test_compile.py:530: DeprecationWarning: If.__init__ missing 1 required positional argument: 'test'. This will become an error in Python 3.15.
self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec')
/Users/admin/Projects/cpython/Lib/test/test_compile.py:534: DeprecationWarning: BoolOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15.
ast.body = [_ast.BoolOp()]
== Tests result: SUCCESS ==
1 test OK.
Total duration: 1.7 sec
Total tests: run=158 skipped=1
Total test files: run=1/1
Result: SUCCESCPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error