HomeSoftware Heritage

tests: Fix sampled_from hypothesis strategy import

Description

tests: Fix sampled_from hypothesis strategy import

It should be imported from hypothesis.strategies instead from the internal
private module.

This fixes Python tests when building debian buster package.

Details

Provenance
anlambertAuthored on Aug 23 2021, 6:05 PM
anlambertPushed on Aug 24 2021, 11:00 AM
Differential Revision
D6123: tests: Fix sampled_from hypothesis strategy import
Parents
rDWAPPSc7548f93a171: api/metadata: Fix issues detected with hypothesis
Branches
Unknown
Tags
Unknown
References
tag: v0.0.319
Build Status
Buildable 23111
Build 36044: test-and-buildJenkins console · Jenkins