Bug report
Bug description:
./python.exe-mtesttest_compileUsingrandomseed: 1233253040:00:00loadavg: 1.63Run1testsequentially0:00:00loadavg: 1.63 [1/1] test_compile/Users/admin/Projects/cpython/Lib/test/test_compile.py:530: DeprecationWarning: If.__init__missing1requiredpositionalargument: 'test'. ThiswillbecomeanerrorinPython3.15.
self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec')
/Users/admin/Projects/cpython/Lib/test/test_compile.py:534: DeprecationWarning: BoolOp.__init__missing1requiredpositionalargument: 'op'. ThiswillbecomeanerrorinPython3.15.
ast.body= [_ast.BoolOp()]
==Testsresult: SUCCESS==1testOK.
Totalduration: 1.7secTotaltests: run=158skipped=1Totaltestfiles: run=1/1Result: SUCCES
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
Bug report
Bug description:
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
testarg toast.Ifandoparg toast.BoolOpcalls #116101