Skip to content
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

cases_generator tests aren't run by CI, and are broken #105540

Open
1 of 4 tasks
gvanrossum opened this issue Jun 9, 2023 · 0 comments
Open
1 of 4 tasks

cases_generator tests aren't run by CI, and are broken #105540

gvanrossum opened this issue Jun 9, 2023 · 0 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@gvanrossum
Copy link
Member

gvanrossum commented Jun 9, 2023

There are some tests for the cases generator in Tools/cases_generator/test_generator.py, but several things are wrong with these:

  • They are currently broken
  • They depend on pytest
  • They aren't run in CI
  • They are incomplete

Let's fix that (in that order).

Linked PRs

@gvanrossum gvanrossum added the type-bug An unexpected behavior, bug, or error label Jun 9, 2023
gvanrossum added a commit that referenced this issue Jun 12, 2023
This involves expanding PEEK, POKE and JUMPBY macros,
and removing super and register tests (those features no longer exist).
carljm added a commit to carljm/cpython that referenced this issue Jun 12, 2023
* main:
  pythongh-105540: Fix code generator tests (python#105707)
  pythongh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (python#105686)
  pythongh-105331: Change `asyncio.sleep` to raise ``ValueError` for nan (python#105641)
  Remove support for legacy bytecode instructions (python#105705)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant