ionelmc / pytest-benchmark

py.test fixture for benchmarking code
BSD 2-Clause "Simplified" License
1.22k stars 115 forks source link

Broken tests with python 3.11 #231

Open danigm opened 1 year ago

danigm commented 1 year ago

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 commented 1 year ago

Maybe the first one is not related to python 3.11

fabaff commented 5 months ago

Those tests fail with with Python 3.12 as well.