Skip to content

Commit

Permalink
Merge pull request #3476 from HypothesisWorks/fix-doc-example
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD authored Oct 10, 2022
2 parents 5b00b19 + 8908469 commit e65a7ad
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 28 deletions.
5 changes: 5 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RELEASE_TYPE: patch

This patch updates our vendored `list of top-level domains <https://www.iana.org/domains/root/db>`__,
which is used by the provisional :func:`~hypothesis.provisional.domains` strategy, and fixes some
incorrect examples in the docs for :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes`.
4 changes: 2 additions & 2 deletions hypothesis-python/src/hypothesis/extra/_array_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ def mutually_broadcastable_shapes(
... print(strat.example())
BroadcastableShapes(input_shapes=((4, 1, 3), (4, 2, 3), ()), result_shape=(4, 2, 3))
BroadcastableShapes(input_shapes=((3,), (1, 3), (2, 3)), result_shape=(2, 3))
BroadcastableShapes(input_shapes=((), (), ()), result_shape=(2, 3))
BroadcastableShapes(input_shapes=((3,), (), (3,)), result_shape=(2, 3))
BroadcastableShapes(input_shapes=((), (), ()), result_shape=())
BroadcastableShapes(input_shapes=((3,), (), (3,)), result_shape=(3,))
BroadcastableShapes(input_shapes=((1, 2, 3), (3,), ()), result_shape=(1, 2, 3))
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 2022040900, Last Updated Sat Apr 9 07:07:02 2022 UTC
# Version 2022100800, Last Updated Sat Oct 8 07:07:01 2022 UTC
AAA
AARP
ABARTH
Expand Down Expand Up @@ -176,7 +176,6 @@ BROTHER
BRUSSELS
BS
BT
BUGATTI
BUILD
BUILDERS
BUSINESS
Expand All @@ -196,7 +195,6 @@ CALVINKLEIN
CAM
CAMERA
CAMP
CANCERRESEARCH
CANON
CAPETOWN
CAPITAL
Expand Down
6 changes: 3 additions & 3 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ attrs==22.1.0
# pytest
backports-zoneinfo==0.2.1
# via -r requirements/coverage.in
black==22.8.0
black==22.10.0
# via -r requirements/coverage.in
click==8.1.3
# via
Expand Down Expand Up @@ -79,7 +79,7 @@ python-dateutil==2.8.2
# via
# -r requirements/coverage.in
# pandas
pytz==2022.2.1
pytz==2022.4
# via
# -r requirements/coverage.in
# pandas
Expand All @@ -97,7 +97,7 @@ tomli==2.0.1
# via
# black
# pytest
typing-extensions==4.3.0
typing-extensions==4.4.0
# via
# -r requirements/coverage.in
# black
Expand Down
40 changes: 20 additions & 20 deletions requirements/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ attrs==22.1.0
# flake8-bugbear
# hypothesis (hypothesis-python/setup.py)
# pytest
autoflake==1.6.1
autoflake==1.7.0
# via shed
babel==2.10.3
# via sphinx
Expand All @@ -29,7 +29,7 @@ bandit==1.7.4
# via flake8-bandit
beautifulsoup4==4.11.1
# via sphinx-codeautolink
black==22.8.0
black==22.10.0
# via shed
bleach==5.0.1
# via readme-renderer
Expand Down Expand Up @@ -59,7 +59,7 @@ decorator==5.1.1
# via ipython
distlib==0.3.6
# via virtualenv
django==4.1.1
django==4.1.2
# via -r requirements/tools.in
docutils==0.17.1
# via
Expand All @@ -71,7 +71,7 @@ dpcontracts==0.6.0
# via -r requirements/tools.in
exceptiongroup==1.0.0rc9 ; python_version < "3.11"
# via hypothesis (hypothesis-python/setup.py)
executing==1.1.0
executing==1.1.1
# via stack-data
filelock==3.8.0
# via
Expand All @@ -96,7 +96,7 @@ flake8-bandit==4.1.1
# via -r requirements/tools.in
flake8-bugbear==22.9.23
# via -r requirements/tools.in
flake8-builtins==1.5.3
flake8-builtins==2.0.0
# via -r requirements/tools.in
flake8-comprehensions==3.10.0
# via -r requirements/tools.in
Expand All @@ -122,13 +122,13 @@ flake8-simplify==0.19.3
# via -r requirements/tools.in
gitdb==4.0.9
# via gitpython
gitpython==3.1.27
gitpython==3.1.28
# via bandit
idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==4.13.0
importlib-metadata==5.0.0
# via
# keyring
# sphinx
Expand Down Expand Up @@ -165,7 +165,7 @@ mccabe==0.7.0
# via flake8
more-itertools==8.14.0
# via jaraco-classes
mypy==0.981
mypy==0.982
# via -r requirements/tools.in
mypy-extensions==0.4.3
# via
Expand All @@ -192,7 +192,7 @@ pexpect==4.8.0
# via ipython
pickleshare==0.7.5
# via ipython
pip-tools==6.8.0
pip-tools==6.9.0
# via -r requirements/tools.in
pkginfo==1.8.3
# via twine
Expand Down Expand Up @@ -232,15 +232,15 @@ pygments==2.13.0
# sphinx
pyparsing==3.0.9
# via packaging
pyright==1.1.273
pyright==1.1.274
# via -r requirements/tools.in
pytest==7.1.3
# via -r requirements/tools.in
python-dateutil==2.8.2
# via -r requirements/tools.in
pytz==2022.2.1
pytz==2022.4
# via babel
pyupgrade==2.38.2
pyupgrade==3.0.0
# via shed
pyyaml==6.0
# via
Expand All @@ -254,17 +254,17 @@ requests==2.28.1
# requests-toolbelt
# sphinx
# twine
requests-toolbelt==0.9.1
requests-toolbelt==0.10.0
# via twine
restructuredtext-lint==1.4.0
# via -r requirements/tools.in
rfc3986==2.0.0
# via twine
rich==12.5.1
rich==12.6.0
# via twine
secretstorage==3.3.3
# via keyring
shed==0.10.3
shed==0.10.5
# via -r requirements/tools.in
six==1.16.0
# via
Expand Down Expand Up @@ -314,7 +314,7 @@ stack-data==0.5.1
# via ipython
stevedore==4.0.0
# via bandit
tokenize-rt==4.2.1
tokenize-rt==5.0.0
# via pyupgrade
tomli==2.0.1
# via
Expand All @@ -337,11 +337,11 @@ types-click==7.1.8
# via -r requirements/tools.in
types-pkg-resources==0.1.3
# via -r requirements/tools.in
types-pytz==2022.2.1.0
types-pytz==2022.4.0.0
# via -r requirements/tools.in
types-redis==4.3.21
types-redis==4.3.21.1
# via -r requirements/tools.in
typing-extensions==4.3.0
typing-extensions==4.4.0
# via
# -r requirements/tools.in
# black
Expand All @@ -365,7 +365,7 @@ webencodings==0.5.1
# via bleach
wheel==0.37.1
# via pip-tools
zipp==3.8.1
zipp==3.9.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down

0 comments on commit e65a7ad

Please sign in to comment.