Skip to content

test_ast raises a DeprecationWarning #118374

@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python.exe -m test -q test_ast
Using random seed: 2061872940
0:00:00 load avg: 4.08 Run 1 test sequentially
/Users/admin/Projects/cpython/Lib/test/test_ast.py:1356: DeprecationWarning: Name.__init__ missing 1 required positional argument: 'ctx'. This will become an error in Python 3.15.
  [ast.Name('dataclass')],

== Tests result: SUCCESS ==

Total duration: 3.3 sec
Total tests: run=168 skipped=1
Total test files: run=1/1
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions