BlueBrain / BluePyOpt

Blue Brain Python Optimisation Library
https://bluepyopt.readthedocs.io/en/latest/
Other
198 stars 96 forks source link

Fix pytest setup() deprecation in tests #492

Closed wvangeit closed 5 months ago

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 81.05263% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 87.36%. Comparing base (6679d3c) to head (3c34c85).

Files Patch % Lines
bluepyopt/ephys/create_acc.py 79.16% 15 Missing :warning:
bluepyopt/ephys/simulators.py 86.95% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #492 +/- ## ========================================== - Coverage 87.37% 87.36% -0.01% ========================================== Files 50 50 Lines 4347 4346 -1 ========================================== - Hits 3798 3797 -1 Misses 549 549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

wvangeit commented 5 months ago

@AurelienJaquier @anilbey @ilkilic I fixed the tests that were failing lately, due to changes in pytests. Also made things compatible with python 3.12.

Sorry, for the bid messy PR, but I formatted it with ruff/black too.

Once accepted, can you add python 3.12 as required test in the settings of the repo. Thx.

anilbey commented 5 months ago

and py3.12 became a required action to merge to the master branch :heavy_check_mark: