Page MenuHomeSoftware Heritage

Enforce hypothesis <6 to prevent test breakage
ClosedPublic

Authored by douardda on Jan 13 2021, 10:47 AM.

Details

Summary

hypothesis 6 upgraded a warning into an error: now raises a FailedHealthCheck
when using a pytest fixture with a @given generative test set.

See https://hypothesis.readthedocs.io/en/latest/healthchecks.html

Diff Detail

Repository
rDSTO Storage manager
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 D4850 (id=17166)

Rebasing onto 74e6f58e2f...

Current branch diff-target is up to date.
Changes applied before test
commit 30945a5890d4563720ed6d15b11699c6bebe0532
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Jan 13 10:42:42 2021 +0100

    Enforce hypothesis <6 to prevent test breakage
    
    hypothesis 6 upgraded a warning into an error: now raises a FailedHealthCheck
    when using a pytest fixture with a @given generative test set.
    
    See https://hypothesis.readthedocs.io/en/latest/healthchecks.html

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

This revision is now accepted and ready to land.Jan 13 2021, 10:55 AM