Page MenuHomeSoftware Heritage

hypothesis: Fix errors appeared with release 6.0
ClosedPublic

Authored by anlambert on Tue, Jan 12, 4:19 PM.

Details

Summary

hypothesis 6.0 release turned the warning about using function scope
pytest fixtures into an error which makes a lot of tests now failing.

So add the new HealthCheck.function_scoped_fixture value into the
suppress_health_check list of hypothesis profiles settings.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4845 (id=17153)

Rebasing onto e605c3fa70...

Current branch diff-target is up to date.
Changes applied before test
commit e702c28aee49a96641f2881a09f8083c417a9426
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Jan 12 16:17:14 2021 +0100

    hypothesis: Fix errors appeared with release 6.0
    
    hypothesis 6.0 release turned the warning about using function scope
    pytest fixtures into an error which makes a lot of tests now failing.
    
    So add the new HealthCheck.function_scoped_fixture value into the
    suppress_health_check list of hypothesis profiles settings.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/551/ for more details.

This revision is now accepted and ready to land.Tue, Jan 12, 5:14 PM