Files
weibo_signin/backend/venv/Lib/site-packages/hypothesis/__init__.py

57 lines
1.4 KiB
Python
Raw Normal View History

2026-03-09 16:10:29 +08:00
# This file is part of Hypothesis, which may be found at
# https://github.com/HypothesisWorks/hypothesis/
#
# Copyright the Hypothesis Authors.
# Individual contributors are listed in AUTHORS.rst and the git log.
#
# This Source Code Form is subject to the terms of the Mozilla Public License,
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.
"""Hypothesis is a library for writing unit tests which are parametrized by
some source of data.
It verifies your code against a wide range of input and minimizes any
failing examples it finds.
"""
from hypothesis._settings import HealthCheck, Phase, Verbosity, settings
from hypothesis.control import (
assume,
currently_in_test_context,
event,
note,
reject,
target,
)
from hypothesis.core import example, find, given, reproduce_failure, seed
from hypothesis.entry_points import run
from hypothesis.internal.entropy import register_random
from hypothesis.utils.conventions import infer
from hypothesis.version import __version__, __version_info__
__all__ = [
"HealthCheck",
"Phase",
"Verbosity",
"assume",
"currently_in_test_context",
"event",
"example",
"find",
"given",
"infer",
"note",
"register_random",
"reject",
"reproduce_failure",
"seed",
"settings",
"target",
"__version__",
"__version_info__",
]
run()
del run