8000 ``test_unparse`` raises a DeprecationWarning · Issue #116030 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

test_unparse raises a DeprecationWarning #116030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Eclips4 opened this issue Feb 28, 2024 · 0 comments
Closed

test_unparse raises a DeprecationWarning #116030

Eclips4 opened this issue Feb 28, 2024 · 0 comments
Labels
3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member
Eclips4 commented Feb 28, 2024

Bug report

Bug description:

./python.exe -m test test_unparse
Using random seed: 1839524422
0:00:00 load avg: 8.33 Run 1 test sequentially
0:00:00 load avg: 8.33 [1/1] test_unparse
/Users/admin/Projects/cpython/Lib/test/test_unparse.py:721: DeprecationWarning: Name.__init__ missing 1 required positional argument: 'ctx'. This will become an error in Python 3.15.
  type_params=[ast.TypeVar("T", bound=ast.Name("int"))],
/Users/admin/Projects/cpython/Lib/test/test_unparse.py:379: DeprecationWarning: Name.__init__ missing 1 required positional argument: 'ctx'. This will become an error in Python 3.15.
  ast.Name(id="test"),
/Users/admin/Projects/cpython/Lib/test/test_unparse.py:373: DeprecationWarning: Name.__init__ missing 1 required positional argument: 'ctx'. This will become an error in Python 3.15.
  self.check_invalid(ast.Raise(exc=None, cause=ast.Name(id="X")))

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1.9 sec
Total tests: run=69
Total test files: run=1/1
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@Eclips4 Eclips4 added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Feb 28, 2024
Eclips4 added a commit to Eclips4/cpython that referenced this issue Feb 28, 2024
@Eclips4 Eclips4 added the 3.13 bugs and security fixes label Feb 28, 2024
@Eclips4 Eclips4 closed this as completed Feb 28, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this issue Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this issue Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant
0