import os from hypothesis import settings settings(deadline=None) settings.register_profile("dev", max_examples=10) settings.load_profile(os.getenv("HYPOTHESIS_PROFILE", "default"))