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

Broken tests with python 3.11 #231

Open
danigm opened this issue Jan 17, 2023 · 2 comments
Open

Broken tests with python 3.11 #231

danigm opened this issue Jan 17, 2023 · 2 comments

Comments

@danigm
Copy link

danigm commented Jan 17, 2023

There are some tests that are failing for python 3.11:

FAILED tests/test_benchmark.py::test_abort_broken - Failed: nomatch: '*collected 5 items'
FAILED tests/test_utils.py::test_clonefunc[<lambda>] - TypeError: code() argument 13 must be str, not int
FAILED tests/test_utils.py::test_clonefunc[f2] - TypeError: code() argument 13 must be str, not int
danigm added a commit to danigm/pytest-benchmark that referenced this issue Jan 17, 2023
This patch adds the new arguments to the types.CodeType class
constructor in the clonefunc function.

See ionelmc#231
@danigm
Copy link
Author

danigm commented Jan 17, 2023

Maybe the first one is not related to python 3.11

danigm added a commit to danigm/pytest-benchmark that referenced this issue Jan 17, 2023
ngie-eign pushed a commit to ngie-eign/pytest-benchmark that referenced this issue Mar 12, 2023
This patch adds the new arguments to the types.CodeType class
constructor in the clonefunc function.

This commit addresses ionelmc#231.

Co-authored-by:	Enji Cooper <[email protected]>
ngie-eign pushed a commit to ngie-eign/pytest-benchmark that referenced this issue Mar 12, 2023
This patch adds the new arguments to the types.CodeType class
constructor in the clonefunc function.

This commit addresses ionelmc#231.

Co-authored-by:	Enji Cooper <[email protected]>
@fabaff
Copy link

fabaff commented Feb 18, 2024

Those tests fail with with Python 3.12 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants